[netcdfgroup] netcdf4 python question - set_auto_scale

Hi All:

I have been surprised to find that netcdf4-python does not automatically scale 
and offset data on reads from a file.

Looking at the docs, it appears you need to call “set_auto_scale”.

I have tried this at different stages between opening up the file  (the Dataset 
call) and reading the variable, but nothing I do seems to be work

A working example would be much appreciated.

-Roy

**********************
"The contents of this message do not reflect any position of the U.S. 
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new address and phone***
110 Shaffer Road
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn@xxxxxxxx www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.



  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: