Problem when output NetCDF

From: Liang Guo <liang.guo.81_at_nyahnyahspammersnyahnyah>
Date: Tue, 11 Sep 2007 11:50:44 +0800

Dear All,

I am convert .hdf file to .nc file.

I add missing value attribution to one of variables, as follow:
...
latentHeatAtt = 0
*latentHeatAtt@_FillValue = -9999.9
*latentHeatAtt_at_units = "deg/hr"
latentHeatAtt_at_long_name = "Latent Heating"
filevarattdef( fout, "latentHeat", latentHeatAtt )
...

But, it does not work. Here is the mistake information:
*"fatal:Type Mismatch: The type of missing value could not be converted to
type of variable (latentHeatAtt)
 fatal:Execute: Error occurred at or near line 63 in file readNC.ncl"*

What's matter?

Thanks.

Liang
2007/09/11

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 10 2007 - 21:50:44 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 11 2007 - 10:46:49 MDT