netCDF Browser Update [message #67736] |
Mon, 24 August 2009 14:44 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
The NCDF_Browser application allows the user to browse
netCDF and certain HDF data files for variables, attributes,
and so on. Variables can be saved to the main IDL level. This
update applies to variables that are saved (or read from the
file) without their attributes. Such a variable is now checked
for SCALE_FACTOR and ADD_OFFSET attributes. If found, the
variable is now multiplied by the scale factor and has the
offset added to it before the variable is returned or saved.
The updated file can be found here:
http:http://www.dfanning.com/programs/ncdf_data__define.pro
Note that nothing is changed if you download the variable
*with* its attributes. The "data" in such a variable structure
is still the raw data and you would be expected to apply the
scale factor and offset yourself.
This change will make it more convenient to work with individual
netCDF variables from within the NCDF_Browser.
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|