Last change
on this file since 5162 was
4918,
checked in by Laurent Fairhead, 7 months ago
|
Reintegrated NetCDF95 in LMDZ so that it is compiled and made available by the makelmdz_fcm script.
The makelmdz_fcm creates the libnetcdf95 library and copies it in the tools/netcdf/lib directory, copying
the mod files in the tools/netcdf/include library.
|
File size:
394 bytes
|
Line | |
---|
1 | #include <stddef.h> |
---|
2 | #include "netcdf.h" |
---|
3 | |
---|
4 | /** |
---|
5 | * Get the number of groups. |
---|
6 | * |
---|
7 | * @param ncid The ncid of the open file. |
---|
8 | * @param numgrps Pointer that gets the number of groups. Ignored if |
---|
9 | * NULL. |
---|
10 | * |
---|
11 | * @return ::NC_NOERR No error. |
---|
12 | * @return ::NC_ENOMEM Out of memory. |
---|
13 | * @author Richard Weed |
---|
14 | */ |
---|
15 | extern int |
---|
16 | inq_numgrps(int ncid, int *numgrps) |
---|
17 | { |
---|
18 | return nc_inq_grps(ncid, numgrps, NULL); |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.