[ncl-talk] reading variable

Debasish Hazra debasish.hazra5 at gmail.com
Thu Dec 10 11:48:41 MST 2020


Hi,
I am trying to read a netcdf file generated from other statistical package
and getting the following error using NCL :
fatal:syntax error: line 19 in file statread.ncl before or near .3
          csi_mod  = b1->series_cts_CSI_ge0.3
------------------------------------------------------------------^
But when I did ncl_filedump I see variable do exist :

Variable: series_cts_CSI_ge0.3
    Type: float
    Total Size: 207936 values
                831744 bytes
    Number of Dimensions: 2
    Dimensions and sizes:       [ 361 <lat> x 576 <lon> ]
    Coordinates:
                lat: [-90..90]
                lon: [-180..179.375]
        Number of Attributes:        5
            _FillValue  :       -9999
            name        :       CSI
            long_name   :       Critical success index

Any help on this ?
Thanks
Debasish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201210/b49cad08/attachment.html>


More information about the ncl-talk mailing list