Changeset 5099 for LMDZ6/branches/Amaury_dev/libf/phylmd/read_map2D.F90
- Timestamp:
- Jul 22, 2024, 9:29:09 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/read_map2D.F90
r5088 r5099 31 31 IF (is_mpi_root .AND. is_omp_root) THEN 32 32 ierr = NF90_OPEN(trim(filename), NF90_NOWRITE, nid) 33 IF (ierr /= NF90_NOERR) CALL write_err_mess('Problem in opening file')33 IF (ierr /= nf90_noerr) CALL write_err_mess('Problem in opening file') 34 34 35 35 ierr = NF90_INQ_VARID(nid, trim(varname), nvarid) 36 IF (ierr /= NF90_NOERR) CALL write_err_mess('The variable is absent in file')36 IF (ierr /= nf90_noerr) CALL write_err_mess('The variable is absent in file') 37 37 38 38 start=(/1,1,timestep/) 39 39 count=(/nbp_lon,nbp_lat,1/) 40 ierr = NF90_GET_VAR(nid, nvarid, var_glo2D,start,count)41 IF (ierr /= NF90_NOERR) CALL write_err_mess('Problem in reading varaiable')40 ierr = nf90_get_var(nid, nvarid, var_glo2D,start,count) 41 IF (ierr /= nf90_noerr) CALL write_err_mess('Problem in reading varaiable') 42 42 43 43 ierr = NF90_CLOSE(nid) 44 IF (ierr /= NF90_NOERR) CALL write_err_mess('Problem in closing file')44 IF (ierr /= nf90_noerr) CALL write_err_mess('Problem in closing file') 45 45 46 46 ! Inverse latitude order
Note: See TracChangeset
for help on using the changeset viewer.