[ncl-talk] mask problem

Md. Jalal Uddin dmjalal90 at gmail.com
Sat Nov 3 22:24:12 MDT 2018


Hi all,


I am getting the following error message when I tried to mask over land.


fatal:["Execute.c":6394]:variable (ORO) is not in file (f)


;;code

f= addfile("yearsum2000.nc","r")
 pre = f->pre
 pre_reorder = pre(time|:,latitude|:,longitude|:)
;printVarSummary(pre_reorder)


oro = f->ORO(0,:,:)   ;oro: orography data array (lat,lon). ; assumes that
lat and lon are attached to oro as coordinates,. ; and oro has values
ocean: 0, land: 1


;;printVarSummary(pre)

Variable: pre
Type: double
Total Size: 4608000 bytes
            576000 values
Number of Dimensions: 3
Dimensions and sizes:   [time | 1] x [longitude | 1440] x [latitude | 400]
Coordinates:
            time: [911.75..911.75]
            longitude: [-179.875..179.875]
            latitude: [-49.875..49.875]
Number Of Attributes: 4
  long_name :     precipitation
  units :   mm
  _FillValue :    -nan
  missing_value : -nan


How can I solve this problem?


Best regards,

Jalal
-- 
*Md. Jalal Uddin*
MSc in Applied Meteorology (English Language)
Nanjing University of Information, Science and Technology, China
B.Sc. in Disaster Management (Hons.)
Patuakhali Science and Technology University, Bangladesh.
Cell: +8613260859092, +8801792052662
Web: www.dmjalal90.weebly.com
Facebook: jalal.hossen.39
LinkedIn: https://bd.linkedin.com/in/md-jalal-uddin-80a026b0
Twitter: dmjalal90
Skype: dmjalal90
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181104/531cb4d0/attachment.html>


More information about the ncl-talk mailing list