- Timestamp:
- Jul 22, 2024, 9:29:09 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/tools/netcdf95/Datasets/nf95_find_coord.f90
r5088 r5099 15 15 ! attribute "std_name". 16 16 17 use netcdf, only: NF90_MAX_NAME, NF90_NOERR17 use netcdf, only: NF90_MAX_NAME, nf90_noerr 18 18 use nf95_get_att_m, only: nf95_get_att 19 19 use nf95_inq_varid_m, only: nf95_inq_varid … … 80 80 call nf95_inquire_dimension(ncid, dimid_local, name_local) 81 81 call nf95_inq_varid(ncid, name_local, varid_local, ncerr) 82 if (ncerr == NF90_NOERR) then82 if (ncerr == nf90_noerr) then 83 83 call nf95_inquire_variable(ncid, varid_local, dimids=dimids) 84 84 if (size(dimids) == 1) then … … 86 86 ! We have found a coordinate 87 87 call nf95_get_att(ncid, varid_local, "units", values, ncerr) 88 if (ncerr == NF90_NOERR)then88 if (ncerr == nf90_noerr)then 89 89 if (exact) then 90 90 found = any(values == units)
Note: See TracChangeset
for help on using the changeset viewer.