[ncl-talk] Missing data in ERA5?

Dennis Shea shea at ucar.edu
Mon Feb 8 08:59:05 MST 2021


[1] There was no attached script
[2] What does the following return?

      f = addfile("..","r")
      Z = f->???
      printVarSummary(Z)
      printMinMax(Z,0)

On Mon, Feb 8, 2021 at 8:46 AM Anne Seidenglanz via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Hi,
>
> I am not new to NCL but encounter a rather new problem when dealing with
> ERA5 data (in .nc format, see script attached). I am trying to produce a
> simple test plot for geopotential height, and somehow all my data seems to
> be missing? The error message appears:
> warning:ContourPlotInitialize: no valid values in scalar field;
> ContourPlot not possible:[errno=1101]
> When I printed a subset of the dataset, all the values seemed to be
> missing values.
>
> I have:
> - tested that not all data is missing in Z with "print("Is Z all missing ?
> " + all(ismissing(Z)))". It gave me False.
> - I have tried both, reading in the data using "short2flt" to account for
> scale factor and offset value, and without short2flt. In both cases appears
> the missing value problem and the same error message.
>
> Where have I gone wrong?
>
> Thx for any help
> Anne
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210208/1ac7a45d/attachment.html>


More information about the ncl-talk mailing list