Last change
on this file since 121 was
67,
checked in by pinsard, 18 years ago
|
miscellaneous modifications according to cerbere.lodyc.jussieu.fr: /usr/home/smasson/SAXO_RD/
|
-
Property svn:executable set to
*
|
File size:
1.6 KB
|
Line | |
---|
1 | |
---|
2 | Routines for IDL NetCDF access. |
---|
3 | =============================== |
---|
4 | |
---|
5 | |
---|
6 | WRITING NETCDF FILES |
---|
7 | ==================== |
---|
8 | |
---|
9 | * ncdf_quickwrite/ |
---|
10 | |
---|
11 | Contains routines for writing NetCDF files from IDL namespace in a |
---|
12 | minimum of commands. |
---|
13 | |
---|
14 | See the README file in that directory, but simple example is: |
---|
15 | |
---|
16 | ncfile = 'myfile.nc' |
---|
17 | ncfields = 'latitude[]; longitude[]; pressure[longitude,latitude]' |
---|
18 | @ncdf_quickwrite |
---|
19 | |
---|
20 | |
---|
21 | READING NETCDF FILES |
---|
22 | ==================== |
---|
23 | |
---|
24 | * ncdf_quickread/ |
---|
25 | |
---|
26 | Contains routines for reading variables from NetCDF files into IDL |
---|
27 | namespace in a minimum of commands -- based on cdf2idl. |
---|
28 | |
---|
29 | See the README file in that directory, but simple example is: |
---|
30 | |
---|
31 | ncfile = 'myfile.nc' |
---|
32 | @ncdf_quickread |
---|
33 | |
---|
34 | |
---|
35 | * ncdf_read.pro |
---|
36 | |
---|
37 | Procedure which reads NetCDF file contents into a number of named arrays. |
---|
38 | |
---|
39 | e.g. ncdf_read,'myfile.nc',info,diminfo,varinfo,globalatts,varatts,data |
---|
40 | |
---|
41 | |
---|
42 | * ncdf_struct.pro |
---|
43 | * ncdf_struct_free.pro |
---|
44 | |
---|
45 | Function which returns a structure containing entire contents of a |
---|
46 | specified NetCDF file. |
---|
47 | e.g. |
---|
48 | mystruct = ncdf_struct('myfile.nc') |
---|
49 | ... |
---|
50 | ncdf_struct_free(mystruct) |
---|
51 | |
---|
52 | |
---|
53 | MISCELLANEOUS |
---|
54 | ============= |
---|
55 | |
---|
56 | |
---|
57 | * ncdf_listdims.pro |
---|
58 | * ncdf_listvars.pro |
---|
59 | |
---|
60 | Simple routines which returns arrays of dimension names and variable |
---|
61 | names in an opened NetCDF file. |
---|
62 | e.g. |
---|
63 | ncid=ncdf_open('myfile.nc') |
---|
64 | vars=ncdf_listvars(ncid) |
---|
65 | dims=ncdf_listdims(ncid) |
---|
66 | |
---|
67 | |
---|
68 | ------------------------- |
---|
69 | Contributed by Alan Iwi <A.M.Iwi@rl.ac.uk> |
---|
70 | 2 October 2003 |
---|
71 | ------------------------- |
---|
Note: See
TracBrowser
for help on using the repository browser.