[ncl-talk] error in dimension

Ehsan Taghizadeh ehsantaghizadeh at yahoo.com
Thu Dec 7 04:18:32 MST 2017


Hi, I want to open multiple netcdf files. Also I had to change dimesion of variable (precipitationCal(lat | :, lon | :)), but I got an error (fatal:(lat) is not a dimension name in variable (lon), could not determine dimension number). What should I do?Following lines are simple code.
   diri = "path/"   ; input directory   files = systemfunc("ls "+diri+"3B-DAY-L.MS.MRG.3IMERG.201704*.nc") ; file paths   f = addfiles(files,"r")  prc    = f[:]->precipitationCal(lat | :, lon | :)        ; read precipitation from all files


SincerelyEhsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171207/6eabfb30/attachment.html>


More information about the ncl-talk mailing list