Changeset 5249 for LMDZ6/trunk/libf/phylmd/Dust
- Timestamp:
- Oct 22, 2024, 11:35:08 AM (3 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd/Dust
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/Dust/read_dust.F90
r5246 r5249 3 3 USE mod_grid_phy_lmdz 4 4 USE mod_phys_lmdz_para 5 USE netcdf, ONLY: nf90_get_var 5 6 IMPLICIT NONE 6 7 ! … … 46 47 start(3)=step 47 48 ! 48 #ifdef NC_DOUBLE 49 ! status=NF_GET_VARA_DOUBLE(ncid1,varid1,start,count,dust_nc) 50 status=NF_GET_VARA_DOUBLE(ncid1,varid1,start,count,dust_nc_glo) 51 #else 52 ! status=NF_GET_VARA_REAL(ncid1,varid1,start,count,dust_nc) 53 status=NF_GET_VARA_REAL(ncid1,varid1,start,count,dust_nc_glo) 54 #endif 49 status = nf90_get_var(ncid1, varid1, dust_nc_glo, start, count) 50 55 51 ! 56 52 ! call correctbid(iim,jjp1,dust_nc) -
LMDZ6/trunk/libf/phylmd/Dust/read_surface.F90
r5084 r5249 75 75 varid=NCVID(ncid,latstr,rcode) 76 76 77 #ifdef NC_DOUBLE 78 status=NF_GET_VARA_DOUBLE(ncid,varid,startj,endj,lats_glo) 79 #else 80 status=NF_GET_VARA_REAL(ncid,varid,startj,endj,lats_glo) 81 #endif 77 status = nf90_get_var(ncid, varid, lats_glo, startj, endj) 82 78 ! print *,latstr,varid,status,jjp1,rcode 83 79 ! IF (status .NE. NF_NOERR) print*,'NOOOOOOO' … … 113 109 ! Lecture 114 110 ! ----------------------- 115 #ifdef NC_DOUBLE 116 status=NF_GET_VARA_DOUBLE(ncid,varid,start,count,tmp_dyn_glo) 117 #else 118 status=NF_GET_VARA_REAL(ncid,varid,start,count,tmp_dyn_glo) 119 #endif 111 status = nf90_get_var(ncid, varid, tmp_dyn_glo, start, count) 120 112 121 113 ! call dump2d(iip1,jjp1,tmp_dyn,'tmp_dyn ') -
LMDZ6/trunk/libf/phylmd/Dust/read_vent.F90
r5246 r5249 52 52 start(3)=step 53 53 ! 54 #ifdef NC_DOUBLE 55 ! status=NF_GET_VARA_DOUBLE(ncidu1,varidu1,start,count,u10m_nc) 56 status=NF_GET_VARA_DOUBLE(ncidu1,varidu1,start,count,u10m_nc_glo) 57 #else 58 ! status=NF_GET_VARA_REAL(ncidu1,varidu1,start,count,u10m_nc) 59 status=NF_GET_VARA_REAL(ncidu1,varidu1,start,count,u10m_nc_glo) 60 #endif 54 status = nf90_get_var(ncidu1, varidu1, u10m_nc_glo, start, count) 55 61 56 ! print *,status 62 57 ! 63 #ifdef NC_DOUBLE 64 ! status=NF_GET_VARA_DOUBLE(ncidv1,varidv1,start,count,v10m_nc) 65 status=NF_GET_VARA_DOUBLE(ncidv1,varidv1,start,count,v10m_nc_glo) 66 #else 67 ! status=NF_GET_VARA_REAL(ncidv1,varidv1,start,count,v10m_nc) 68 status=NF_GET_VARA_REAL(ncidv1,varidv1,start,count,v10m_nc_glo) 69 #endif 58 status = nf90_get_var(ncidv1, varidv1, v10m_nc_glo, start, count) 59 70 60 ! 71 61
Note: See TracChangeset
for help on using the changeset viewer.