[ncl-talk] when creating a nc file, and assign _FillValue in it, error generated!

dyjbean at 163.com dyjbean at 163.com
Thu Jan 28 22:43:40 MST 2016


hi,
  when i create a nc file with ncl , and assign _FillValue in it, part of code shows the following:
+++++++++++++++++++++++++++++++++++++++++++++  
  filevardef(fout01,"FSDS","float",(/"time","lat","lon"/))
      FSDSatt           =    True
      FSDSatt at mode      =    "time-dependent"
      FSDSatt at units     =    "W/m2"
      FSDSatt at long_name =    "incident solar (FSDS)"
      FSDSatt at _FillValue=9.999E20
      filevarattdef(fout01,"FSDS",FSDSatt)
   ++++++++++++++++++++++++++++++++++++++++++++

but the error information from the operation shows the below:
ncendef: ncid 131072: NetCDF: Not a valid data type or _FillValue type mismatch

i want to know how to assign _FillValue in nc file in ncl script?

thanks 



dyjbean at 163.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160129/41b9667e/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 20365 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160129/41b9667e/attachment.jpe 


More information about the ncl-talk mailing list