- Timestamp:
- Mar 25, 2021, 8:07:25 AM (4 years ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r2482 r2484 1637 1637 Add kmixmin 1D minimum eddy mix coeff for turbdiff as rcm1d.def option 1638 1638 and comment lines to help coding specific eddy mix coeff in turbdiff with Earth example 1639 1640 == 25/03/2021 == EM 1641 Small fix on the reading/initialisation of Non orographic GW related fields 1642 loaded by lect_start_archive -
trunk/LMDZ.GENERIC/libf/dynphy_lonlat/phystd/lect_start_archive.F
r2336 r2484 966 966 PRINT*, "Setting it to zero" 967 967 du_nonoro_gwdold(:,:,:)=0 968 ENDIF 969 #ifdef NC_DOUBLE 970 ierr = NF_GET_VARA_DOUBLE(nid,nvarid,start,count,du_nonoro_gwdold) 971 #else 972 ierr = NF_GET_VARA_REAL(nid,nvarid,start,count,du_nonoro_gwdold) 973 #endif 974 IF (ierr .NE. NF_NOERR) THEN 975 PRINT*, "lect_start_archive: Failed loading <du_nonoro_gwd>" 976 CALL abort 968 ELSE 969 #ifdef NC_DOUBLE 970 ierr=NF_GET_VARA_DOUBLE(nid,nvarid,start,count,du_nonoro_gwdold) 971 #else 972 ierr=NF_GET_VARA_REAL(nid,nvarid,start,count,du_nonoro_gwdold) 973 #endif 974 IF (ierr .NE. NF_NOERR) THEN 975 PRINT*, "lect_start_archive: Failed loading <du_nonoro_gwd>" 976 CALL abort 977 ENDIF 977 978 ENDIF 978 979 … … 983 984 PRINT*, "Setting it to zero" 984 985 dv_nonoro_gwdold(:,:,:)=0 985 ENDIF 986 #ifdef NC_DOUBLE 987 ierr = NF_GET_VARA_DOUBLE(nid,nvarid,start,count,dv_nonoro_gwdold) 988 #else 989 ierr = NF_GET_VARA_REAL(nid,nvarid,start,count,dv_nonoro_gwdold) 990 #endif 991 IF (ierr .NE. NF_NOERR) THEN 992 PRINT*, "lect_start_archive: Failed loading <dv_nonoro_gwd>" 993 CALL abort 986 ELSE 987 #ifdef NC_DOUBLE 988 ierr=NF_GET_VARA_DOUBLE(nid,nvarid,start,count,dv_nonoro_gwdold) 989 #else 990 ierr=NF_GET_VARA_REAL(nid,nvarid,start,count,dv_nonoro_gwdold) 991 #endif 992 IF (ierr .NE. NF_NOERR) THEN 993 PRINT*, "lect_start_archive: Failed loading <dv_nonoro_gwd>" 994 CALL abort 995 ENDIF 994 996 ENDIF 995 997 … … 1000 1002 PRINT*, "Setting it to zero" 1001 1003 east_gwstressold(:,:,:)=0 1002 ENDIF 1003 #ifdef NC_DOUBLE 1004 ierr = NF_GET_VARA_DOUBLE(nid,nvarid,start,count,east_gwstressold) 1005 #else 1006 ierr = NF_GET_VARA_REAL(nid,nvarid,start,count,east_gwstressold) 1007 #endif 1008 IF (ierr .NE. NF_NOERR) THEN 1009 PRINT*, "lect_start_archive: Failed loading <east_gwstress>" 1010 CALL abort 1004 ELSE 1005 #ifdef NC_DOUBLE 1006 ierr=NF_GET_VARA_DOUBLE(nid,nvarid,start,count,east_gwstressold) 1007 #else 1008 ierr=NF_GET_VARA_REAL(nid,nvarid,start,count,east_gwstressold) 1009 #endif 1010 IF (ierr .NE. NF_NOERR) THEN 1011 PRINT*, "lect_start_archive: Failed loading <east_gwstress>" 1012 CALL abort 1013 ENDIF 1011 1014 ENDIF 1012 1015 … … 1017 1020 PRINT*, "Setting it to zero" 1018 1021 west_gwstressold(:,:,:)=0 1019 ENDIF 1020 #ifdef NC_DOUBLE 1021 ierr = NF_GET_VARA_DOUBLE(nid,nvarid,start,count,west_gwstressold) 1022 #else 1023 ierr = NF_GET_VARA_REAL(nid,nvarid,start,count,west_gwstressold) 1024 #endif 1025 IF (ierr .NE. NF_NOERR) THEN 1026 PRINT*, "lect_start_archive: Failed loading <west_gwstress>" 1027 CALL abort 1022 ELSE 1023 #ifdef NC_DOUBLE 1024 ierr=NF_GET_VARA_DOUBLE(nid,nvarid,start,count,west_gwstressold) 1025 #else 1026 ierr=NF_GET_VARA_REAL(nid,nvarid,start,count,west_gwstressold) 1027 #endif 1028 IF (ierr .NE. NF_NOERR) THEN 1029 PRINT*, "lect_start_archive: Failed loading <west_gwstress>" 1030 CALL abort 1031 ENDIF 1028 1032 ENDIF 1029 1033
Note: See TracChangeset
for help on using the changeset viewer.