Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Makiko: Yes, You are right, that's a bug. I will fix as soon as i can and let you know. Probably not till next week. Thanks for reporting the problem, John Unidata Support wrote:
------- Forwarded MessageTo: support-netcdf-java@xxxxxxxxxxxxxxxx From: "Makiko Umemoto" <makiko@xxxxxxxx> Subject: netCDF Java - The fill flag does not work in NetcdfFileWriteable(java.lang.String location, boolean fill) Organization: USGS Keywords: 200512232206.jBNM6hXN021489 netCDF-JavaInstitution: US Geological Survey Package Version: Version 2.2 Operating System: Windows XP Hardware Information: AMD Athlon(tm) MP Inquiry: Hi, I used NetcdfFileWriteable(java.lang.String location, boolean fill) to create a Netcdf file where the fill flag was set to true. It should havae first write the data with fill values, but it didn't. Instead, 0 was written to all the data. I tried to make this work by explicitly setting _FillValue using ncfile.addVariableAttribute("tmax", "_FillValue", Float.MIN_VALUE); This did not change anything. How can I make the program prefill data with fill values? I am using only two variables as shown below in case you need this info. dimensions: time = UNLIMITED ; variables: int time(time) ; float tmax(time) ; Thanks. Makiko -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us. ------- End of Forwarded Message
netcdf-java
archives: