Hi,
I am writing some grid in netCDF4 format (data type is int64 since I 
want 12digit integer for data values)
It seems like my script writing without any problem and I do not see any 
strange values in netCDF, but I am getting some kind of warning message:
file: NclNewFile.c, line: 5619
exists = 1
It would be great if anyone could tell me what this means...
A piece of NCL script is
+++++++++++++++++++++++++++++++++++++++
120     filhc12 = dirc+"HUC12/HUC12_"+reso(j-1)+"km.nc"  ; the file has 
huc array (type: int64)
126     fhc12  = addfile(filhc12, "r")
133      huc12_out    = 
fhc12->huc({24.512236:50.6875},{235.097796:293.9812530})
.....
144     setfileoption("nc","Format","NetCDF4")
146     ; Write all variable(s) to netCDF
148     dnam = dirc+"domain_conus_"+reso(j-1)+"k_bcsd.nc"
149     system("/bin/rm -f "+dnam)
150     fnew = addfile(dnam, "c")
151
152     ; Process 3 create global attributes of the file
153     cr = inttochar(10)
154     fAtt               = True            ; assign file attributes
155     fAtt@title         = reso(j-1)+"km domain grid"
156     fAtt@source_file   = filnm
157     fAtt@Conventions   = "CF-1.0"
158     fAtt@creation_date = systemfunc ("date")
159     fileattdef( fnew, fAtt )             ; copy file attributes
160
161     fnew->x = x                          ; write to netCDF
162     fnew->y = y                          ; write to netCDF
163     fnew->ele   = ELE
169     fnew->huc12 = huc12_out
++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Naoki Mizukami National Center for Atmospheric Research 3450 Mitchell Lane Boulder, CO 80301 office FL2 3094H phone 303-497-2739
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Nov  4 16:01:37 2013
This archive was generated by hypermail 2.1.8 : Mon Nov 11 2013 - 09:45:33 MST