- Timestamp:
- Jun 5, 2020, 9:44:36 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/write_archive.F
r1478 r2336 37 37 implicit none 38 38 39 #include "dimensions.h"40 #include "paramet.h"41 #include "comgeom.h"42 #include "netcdf.inc"39 include "dimensions.h" 40 include "paramet.h" 41 include "comgeom.h" 42 include "netcdf.inc" 43 43 44 44 c----------------------------------------------------------------------- … … 83 83 84 84 write (*,*) "=====================" 85 write (*,*) " creation de",nom85 write (*,*) "defining ",nom 86 86 call def_var(nid,nom,titre,unite,4,id,varid,ierr) 87 87 … … 113 113 114 114 if (ierr.ne.NF_NOERR) then 115 write(*,*) "***** PUT_VAR matterin write_archive"116 write(*,*) "***** with ", nom," ",nf_STRERROR(ierr)115 write(*,*) "***** PUT_VAR problem in write_archive" 116 write(*,*) "***** with ",trim(nom)," ",nf_STRERROR(ierr) 117 117 call abort 118 118 endif … … 140 140 ! define the variable 141 141 write(*,*)"=====================" 142 write(*,*)"defining ",nom142 write(*,*)"defining variable ",trim(nom) 143 143 call def_var(nid,nom,titre,unite,4,id,varid,ierr) 144 144 … … 182 182 ! define the variable 183 183 write(*,*)"=====================" 184 write(*,*)"defining ",nom184 write(*,*)"defining variable ",trim(nom) 185 185 call def_var(nid,nom,titre,unite,4,id,varid,ierr) 186 186 … … 222 222 223 223 write (*,*) "=====================" 224 write (*,*) " creation de ",nom224 write (*,*) "defining variable ",trim(nom) 225 225 226 226 call def_var(nid,nom,titre,unite,3,id,varid,ierr) … … 243 243 244 244 if (ierr.ne.NF_NOERR) then 245 write(*,*) "***** PUT_VAR matterin write_archive"245 write(*,*) "***** PUT_VAR problem in write_archive" 246 246 write(*,*) "***** with ",nom,nf_STRERROR(ierr) 247 247 call abort … … 264 264 265 265 write (*,*) "=====================" 266 write (*,*) " creation de ",nom266 write (*,*) "defining variable ",trim(nom) 267 267 268 268 call def_var(nid,nom,titre,unite,1,id,varid,ierr) … … 279 279 #endif 280 280 if (ierr.ne.NF_NOERR) then 281 write(*,*) "***** PUT_VAR matterin write_archive"281 write(*,*) "***** PUT_VAR problem in write_archive" 282 282 write(*,*) "***** with ",nom,nf_STRERROR(ierr) 283 283 call abort … … 289 289 endif ! of if (dim.eq.3) else if (dim.eq.-3) .... 290 290 291 return292 291 end 293 292
Note: See TracChangeset
for help on using the changeset viewer.