[ncl-talk] data_extraction

Kunal Bali kunal.bali9 at gmail.com
Fri May 12 06:16:06 MDT 2017


Dear NCL users

I am trying to extract the data of particular coordinates with
corresponding times.
But I am having a problem with reading dimension names.

the error is given below

fatal:(lat) is not a named dimension in variable (data).
fatal:["Execute.c":8578]:Execute: Error occurred at or near line 136 in
file mask_data_latlon_polygon1.ncl

the summary of the data is

Variable: data
Type: float
Total Size: 445820 bytes
            111455 values
Number of Dimensions: 1
Dimensions and sizes:    [time | 111455]
Coordinates:
            time: [16526.33308267314..16859.88428081991]
Number Of Attributes: 5
  valid_range :    (  0, 1400 )
  format :    F18.9
  units :    Watts per square meter
  orig_name :    CERES SW TOA flux - upwards
  _FillValue :    3.402823e+38


for extracting the data I am using the attached script.
please find the attachment

If anyone have the idea then please provide some information on that

Thank You

Regards
Kunal Bali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170512/0c712677/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extract1.ncl
Type: application/octet-stream
Size: 5814 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170512/0c712677/attachment.obj 


More information about the ncl-talk mailing list