Re: Meaning of message - writing netCDF4 in long integer

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Mon Nov 04 2013 - 16:20:51 MST

Naoki Mizukami,

Those are diagnose/debug print while we developing the code.
We tried to comment them out, but some of them got slipped through.
We'll certainly try to minimize those print-out,
and we appreciate that you report this.

If you have any further questions, please let us know.

Thanks,

Wei

huangwei@ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Nov 4, 2013, at 4:01 PM, Naoki Mizukami <mizukami@ucar.edu> wrote:

> 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

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Nov 4 16:21:04 2013

This archive was generated by hypermail 2.1.8 : Mon Nov 11 2013 - 09:45:33 MST