[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20010329: READback-a-netcdfmade-file
- Subject: 20010329: READback-a-netcdfmade-file
- Date: Thu, 29 Mar 2001 12:29:36 -0700
Robert,
I regret that we do not have the resources to help with problems such as
yours.
In general, I suggest the following:
1. Create a CDL description of your netCDF file using the "ncdump"
utility.
2. Using the "ncgen" utility, create a C or Fortran program that
will create a netCDF file from the CDL description from step #1.
3. Edit the program of step #2 to transform it into a "reading"
program.
There are several people at JPL who understand the netCDF package.
You can always request help from the netCDF mailing-list
address@hidden
Regards,
Steve Emmerson <http://www.unidata.ucar.edu>
> To: address@hidden,
> To: address@hidden
> From: "Robert E. Mackey" <address@hidden>
> Subject: READback-a-netcdfmade-file
> Organization: NASA/JPL
> Keywords: 200103290148.f2T1moL10373
>
> Hello, I am using NetCDF here (jpl), viz: the standard simple-sample
> code thats in the documentation, to gen a test.f and test.c code, running
> those, to gen the bin output file, about 1236 bytes is all, and all is
> well, no problems. I am wondering tho, I havent time to "learn" netcdf,
>
> Id like to simply "read back" this 1236byte data file in a "corresponding"
> test-READ.f code, based on the test.f code that WROTE the file ---
> if I email this NetCDF genned "test.f", about 200 lines, could a/is there
> a corr. "read the data file" back (same machine) be furnished? *IS* there
> perhaps this read-it-back test2.f code somewhere, I just dont find it?
>
> E.g., the test.f has/does a
> =NF_PUT_VAR_INT
> Is there a corr. code to read back the file that might do
> =NF_GET_VAR_INT
> ?
>
> If I have emailed to a/the wrong place, plz excuse my error---if this info
> is available elsewhere, tho, Id appreciate a lead thanx bob mackey
> S/C support Group, JPL address@hidden
>
>
> ------- End of Forwarded Message