comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: netCDF Browser Update
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: netCDF Browser Update [message #67734 is a reply to message #67733] Mon, 24 August 2009 15:17 Go to previous messageGo to previous message
Matt[2] is currently offline  Matt[2]
Messages: 69
Registered: March 2007
Member
It should have a keyword "BONEHEADED" so when the NETCDF has the scale
and offset backwards you can divide by the scale and subtract the
offset.

It happens all the time.

Matt

David Fanning <news@dfanning.com> writes:

> 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

--
Matthew Savoie - Scientific Programmer
National Snow and Ice Data Center
(303) 735-0785 http://nsidc.org
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: netCDF Browser Update
Next Topic: Re: CHISQR_CVF question. -RESOLVED

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 20:43:39 PDT 2025

Total time taken to generate the page: 0.80301 seconds