Re: [netcdf-java] changing attribute value via NcML

The problem is that the underlying data source has no metadata indicating what the missing value is. I was using NcML to add that bit of metadata. I think it would take something like an "orgValue" to make that work.

Doug

John Caron wrote:
Doug Lindholm wrote:
I see that you can change the name of an attribute via NcML using orgName, but what if I want to change an attribute value? e.g. the data behind the NcML has missing_value="0" but I want to change it to "NaN"? Does NcML support this? Something like "orgValue"?

Thanks,
Doug

_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
Hi Doug:

You just put in the new value, and it overrides. Im probably not parsing NaN correctly though, unless Double.parseDouble(String) already does the right thing.