Page tree
Skip to end of metadata
Go to start of metadata

Hi! I have made the following plot in the workflow: https://sis-dev.climate.copernicus.eu/toolbox-editor/1474/uc4-monthly-mean-humidity-and-anomalies

Data from the year 2012 is missing, as a result there are NaNs in the time series. For now, I have used ct.math.nan_to_num() to set the NaNs to 0.0.

Is it possible to ignore the NaNs and not plot those?


Thanks,

Huayuan

2 Comments

  1. Hi Huayuan,

    To avoid seeing the empty period on the plot I would plot to 2007 to 2011 and then from 2013 to 2017 so that nothing is plotted for the year 2012.

    Does that make sense?

    Regards.

    Vivien

    1. Makes sense, thank you Vivien!