Last change
on this file since 5006 was
4918,
checked in by Laurent Fairhead, 6 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:
626 bytes
|
Line | |
---|
1 | ! -*- mode: f90; -*- |
---|
2 | |
---|
3 | ! Body of specific procedures of generic interface "nf95_get_var", |
---|
4 | ! with scalar argument "values". |
---|
5 | |
---|
6 | call check_start_count(procedure_name, ncid, varid, start, rank_values = 0) |
---|
7 | ncerr_not_opt = nf90_get_var(ncid, varid, values, start) |
---|
8 | |
---|
9 | if (present(ncerr)) then |
---|
10 | ncerr = ncerr_not_opt |
---|
11 | else |
---|
12 | if (ncerr_not_opt /= nf95_noerr) call nf95_abort(procedure_name, & |
---|
13 | ncerr_not_opt, ncid, varid) |
---|
14 | end if |
---|
15 | |
---|
16 | if (ncerr_not_opt == NF90_NOERR .and. present(new_missing)) then |
---|
17 | call nf95_get_missing(ncid, varid, missing) |
---|
18 | if (values == missing) values = new_missing |
---|
19 | end if |
---|
Note: See
TracBrowser
for help on using the repository browser.