Last change
on this file was
5099,
checked in by abarral, 13 months ago
|
Replace most uses of CPP_DUST by the corresponding logical defined in lmdz_cppkeys_wrapper.F90
Convert several files from .F to .f90 to allow Dust to compile w/o rrtm/ecrad
Create lmdz_yoerad.f90
(lint) Remove "!" on otherwise empty line
|
File size:
675 bytes
|
Line | |
---|
1 | ! -*- mode: f90; -*- |
---|
2 | |
---|
3 | ! Body of specific procedures of generic interface "nf95_get_var", |
---|
4 | ! with array argument "values". |
---|
5 | |
---|
6 | call check_start_count(procedure_name, ncid, varid, start, count_nc, & |
---|
7 | rank_values) |
---|
8 | ncerr_not_opt = nf90_get_var(ncid, varid, values, start, count_nc, stride, & |
---|
9 | map) |
---|
10 | |
---|
11 | if (present(ncerr)) then |
---|
12 | ncerr = ncerr_not_opt |
---|
13 | else |
---|
14 | if (ncerr_not_opt /= nf95_noerr) call nf95_abort(procedure_name, & |
---|
15 | ncerr_not_opt, ncid, varid) |
---|
16 | end if |
---|
17 | |
---|
18 | if (ncerr_not_opt == nf90_noerr .and. present(new_missing)) then |
---|
19 | call nf95_get_missing(ncid, varid, missing) |
---|
20 | where (values == missing) values = new_missing |
---|
21 | end if |
---|
Note: See
TracBrowser
for help on using the repository browser.