[netcdfgroup] Sort of Inverse of netcdf diskless mode

Hi All:

Netcdf now has the option of  creating or reading a file entirely in memory, a 
nice option to have. I am wondering if there is any way to do sort of the 
inverse.  Some web libraries allow for a pure binary download of a file into 
memory, so what I have sitting there is essentially a binary image of the 
netcdf file.  Is there any way to open that image without writing to disk?

As an example, the R httr library allows this.  I can for example download to 
memory a netcdf file from ERDDAP, and if I then do a binary save in httr and 
then read it back in using the ncdf4 package, it all works great.   But it 
would be even better if I could skip the extra steps, and “open” the image in 
ncdf4 directly  (ncdf4 btw can do whatever the netcdf libraries can do, so it 
is a question of the base libraries).

Thanks,

-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.



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