[ncl-talk] One or more variable sizes violate format constraints

Ashi Alam ashi.alam at yahoo.com
Thu Jan 28 01:09:56 MST 2021


Dear NCL user,
i am trying to list number of files and extract them but there is an error message
ncendef: ncid 393216: NetCDF: One or more variable sizes violate format constraintsfatal:NetCDF: Operation not allowed in define mode: error attempting to write variable (time) to file.......
below are the codes i am using to list the files ,

fils = systemfunc ("ls /home/dir/ua_Amon_HadGEM2-ES_historical_*.nc") ; file pathsf    = addfiles (fils, "r")ListSetType (f, "cat")U_wnd    = f[:]->ua(:,:,:,:)

U_wnd!0  = "time"U_wnd!1  = "plev"U_wnd!2  = "lat"U_wnd!3   = "lon"

is that because of the large file size? please guide me to overcome with this error 
thank you,
regards,Ayesha 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210128/2fa186bb/attachment.html>


More information about the ncl-talk mailing list