Changeset 3139 for trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars
- Timestamp:
- Nov 24, 2023, 4:16:37 PM (13 months ago)
- Location:
- trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/newstart.F
r3118 r3139 31 31 & emis, hmons, summit, base, watercap, 32 32 & ini_surfdat_h_slope_var,end_surfdat_h_slope_var, 33 & peren ial_co2ice33 & perennial_co2ice 34 34 use comsoil_h, only: inertiedat, inertiesoil,layer, mlayer, 35 35 & nsoilmx,tsoil,ini_comsoil_h_slope_var, end_comsoil_h_slope_var, … … 198 198 REAL,ALLOCATABLE :: qsurf_old_slope(:,:,:) ! tracer on surface (e.g. kg.m-2) 199 199 REAL,ALLOCATABLE :: watercap_old_slope(:,:) ! Surface water ice (kg.m-2) 200 REAL,ALLOCATABLE :: peren ial_co2_old_slope(:,:) ! Surface water ice (kg.m-2)200 REAL,ALLOCATABLE :: perennial_co2_old_slope(:,:) ! Surface water ice (kg.m-2) 201 201 REAL,ALLOCATABLE :: tsoil_old_slope(:,:,:) 202 202 REAL,ALLOCATABLE :: inertiesoil_old_slope(:,:,:) … … 445 445 & date,tsurf,tsoil,inertiesoil,albedo,emis,q2, 446 446 & t,ucov,vcov,ps,teta,phisold_newgrid,q,qsurf, 447 & tauscaling,totcloudfrac,surfith,nid,watercap,peren ial_co2ice)447 & tauscaling,totcloudfrac,surfith,nid,watercap,perennial_co2ice) 448 448 write(*,*) "OK, read start_archive file" 449 449 ! copy soil thermal inertia … … 467 467 & nqsoil,day_ini,time,tsurf,tsoil,albedo,emis, 468 468 & q2,qsurf,qsoil,tauscaling,totcloudfrac, 469 & wstar,watercap,peren ial_co2ice,469 & wstar,watercap,perennial_co2ice, 470 470 & def_slope,def_slope_mean,subslope_dist) 471 471 … … 1804 1804 allocate(emis_old_slope(ngridmx,nslope_old)) 1805 1805 allocate(watercap_old_slope(ngridmx,nslope_old)) 1806 allocate(peren ial_co2_old_slope(ngridmx,nslope_old))1806 allocate(perennial_co2_old_slope(ngridmx,nslope_old)) 1807 1807 1808 1808 … … 1811 1811 emis_old_slope(:,:)=emis(:,:) 1812 1812 watercap_old_slope(:,:)=watercap(:,:) 1813 peren ial_co2_old_slope(:,:) = perenial_co2ice(:,:)1813 perennial_co2_old_slope(:,:) = perennial_co2ice(:,:) 1814 1814 call end_surfdat_h_slope_var 1815 1815 call ini_surfdat_h_slope_var(ngridmx,nqtot,nslope_new) … … 1842 1842 emis(:,islope)=emis_old_slope(:,1) 1843 1843 watercap(:,islope)=watercap_old_slope(:,1) 1844 peren ial_co2ice(:,islope)= perenial_co2_old_slope(:,1)1844 perennial_co2ice(:,islope)= perennial_co2_old_slope(:,1) 1845 1845 tsoil(:,:,islope)=tsoil_old_slope(:,:,1) 1846 1846 albedo(:,:,islope)=albedo_old_slope(:,:,1) … … 1853 1853 emis(:,1)=emis_old_slope(:,iflat) 1854 1854 watercap(:,1)=watercap_old_slope(:,iflat) 1855 perenial_co2ice(:,islope)= perenial_co2_old_slope(:,iflat) 1855 perennial_co2ice(:,islope)= 1856 & perennial_co2_old_slope(:,iflat) 1856 1857 tsoil(:,:,1)=tsoil_old_slope(:,:,iflat) 1857 1858 albedo(:,:,1)=albedo_old_slope(:,:,iflat) … … 1864 1865 emis(:,islope)=emis_old_slope(:,iflat) 1865 1866 watercap(:,islope)=watercap_old_slope(:,iflat) 1866 perenial_co2ice(:,islope)= perenial_co2_old_slope(:,iflat) 1867 perennial_co2ice(:,islope)= 1868 & perennial_co2_old_slope(:,iflat) 1867 1869 tsoil(:,:,islope)=tsoil_old_slope(:,:,iflat) 1868 1870 albedo(:,:,islope)=albedo_old_slope(:,:,iflat) … … 1876 1878 emis(:,islope)=emis_old_slope(:,iflat) 1877 1879 watercap(:,islope)=watercap_old_slope(:,iflat) 1878 perenial_co2ice(:,islope)= perenial_co2_old_slope(:,iflat) 1880 perennial_co2ice(:,islope)= 1881 & perennial_co2_old_slope(:,iflat) 1879 1882 tsoil(:,:,islope)=tsoil_old_slope(:,:,iflat) 1880 1883 albedo(:,:,islope)=albedo_old_slope(:,:,iflat) … … 2012 2015 & emis,q2,qsurf,qsoil, 2013 2016 & tauscaling,totcloudfrac,wstar,watercap, 2014 & peren ial_co2ice)2017 & perennial_co2ice) 2015 2018 2016 2019 c======================================================================= -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/start2archive.F
r3118 r3139 68 68 REAL,ALLOCATABLE :: tsoil(:,:,:) ! Soil temperature 69 69 REAL,ALLOCATABLE :: watercap(:,:) ! h2o ice layer 70 REAL,ALLOCATABLE :: peren ial_co2ice(:,:) ! co2 ice layer70 REAL,ALLOCATABLE :: perennial_co2ice(:,:) ! co2 ice layer 71 71 REAL :: tauscaling(ngridmx) ! dust conversion factor 72 72 REAL:: totcloudfrac(ngridmx) ! sub-grid cloud fraction … … 88 88 REAL ithS(ip1jmp1,nsoilmx) ! Soil Thermal Inertia for inertie dat (present day climate) 89 89 REAL,ALLOCATABLE :: watercapS(:,:) 90 REAL,ALLOCATABLE :: peren ial_co2iceS(:,:)90 REAL,ALLOCATABLE :: perennial_co2iceS(:,:) 91 91 REAL,ALLOCATABLE :: watercaptag_tmp(:) 92 92 REAL,ALLOCATABLE :: watercaptagS(:) … … 172 172 allocate(tsoil(ngridmx,nsoilmx,nslope)) 173 173 allocate(watercap(ngridmx,nslope)) 174 allocate(peren ial_co2ice(ngridmx,nslope))174 allocate(perennial_co2ice(ngridmx,nslope)) 175 175 allocate(emis(ngridmx,nslope)) 176 176 allocate(albedo(ngridmx,2,nslope)) … … 181 181 allocate(inertiesoilS(ip1jmp1,nsoilmx,nslope)) 182 182 allocate(watercapS(ip1jmp1,nslope)) 183 allocate(peren ial_co2iceS(ip1jmp1,nslope))183 allocate(perennial_co2iceS(ip1jmp1,nslope)) 184 184 allocate(watercaptagS(ip1jmp1)) 185 185 allocate(emisS(ip1jmp1,nslope)) … … 189 189 CALL phyetat0(fichnom,0,Lmodif,nsoilmx,ngridmx,llm,nqtot,nqsoil, 190 190 & day_ini_fi,timefi,tsurf,tsoil,albedo,emis,q2,qsurf,qsoil, 191 & tauscaling,totcloudfrac,wstar,watercap,peren ial_co2ice,191 & tauscaling,totcloudfrac,wstar,watercap,perennial_co2ice, 192 192 & def_slope, def_slope_mean,subslope_dist) 193 193 … … 275 275 c tsurf --> tsurfS 276 276 c watercap --> watercapS 277 c peren ial_co2ice --> perenial_co2iceS277 c perennial_co2ice --> perennial_co2iceS 278 278 c tsoil --> tsoilS 279 279 c inertiesoil --> inertiesoilS … … 293 293 call gr_fi_dyn(1,ngridmx,iip1,jjp1,watercap(:,islope), 294 294 & watercapS(:,islope)) 295 call gr_fi_dyn(1,ngridmx,iip1,jjp1,peren ial_co2ice(:,islope),296 & peren ial_co2iceS(:,islope))295 call gr_fi_dyn(1,ngridmx,iip1,jjp1,perennial_co2ice(:,islope), 296 & perennial_co2iceS(:,islope)) 297 297 call gr_fi_dyn(nsoilmx,ngridmx,iip1,jjp1,tsoil(:,:,islope), 298 298 & tsoilS(:,:,islope)) … … 425 425 call write_archive(nid,ntime,'watercap','couche de glace h2o', 426 426 & 'kg/m2',2,watercapS) 427 call write_archive(nid,ntime,'peren ial_co2ice',428 &'couche de glace co2','kg/m2',2,peren ial_co2iceS)427 call write_archive(nid,ntime,'perennial_co2ice', 428 &'couche de glace co2','kg/m2',2,perennial_co2iceS) 429 429 call write_archive(nid,ntime,'watercaptag','couche de glace h2o', 430 430 & 'kg/m2',2,watercaptagS) -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/start2archive_SSO.F
r2999 r3139 69 69 REAL,ALLOCATABLE :: tsoil(:,:,:) ! Soil temperature 70 70 REAL,ALLOCATABLE :: watercap(:,:) ! h2o ice layer 71 REAL,ALLOCATABLE :: peren ial_co2ice(:,:) ! co2 ice layer71 REAL,ALLOCATABLE :: perennial_co2ice(:,:) ! co2 ice layer 72 72 REAL tauscaling(ngridmx) ! dust conversion factor 73 73 REAL totcloudfrac(ngridmx) ! sub-grid cloud fraction … … 92 92 REAL ithS(ip1jmp1,nsoilmx) ! Soil Thermal Inertia for inertie dat (present day climate) 93 93 REAL,ALLOCATABLE :: watercapS(:,:) 94 REAL,ALLOCATABLE :: peren ial_co2iceS(:,:) ! co2 ice layer94 REAL,ALLOCATABLE :: perennial_co2iceS(:,:) ! co2 ice layer 95 95 REAL tauscalingS(ip1jmp1) 96 96 REAL totcloudfracS(ip1jmp1) … … 186 186 allocate(tsoil(ngridmx,nsoilmx,nslope)) 187 187 allocate(watercap(ngridmx,nslope)) 188 allocate(peren ial_co2ice(ngridmx,nslope))188 allocate(perennial_co2ice(ngridmx,nslope)) 189 189 allocate(emis(ngridmx,nslope)) 190 190 allocate(albedo(ngridmx,2,nslope)) … … 195 195 allocate(inertiesoilS(ip1jmp1,nsoilmx,nslope)) 196 196 allocate(watercapS(ip1jmp1,nslope)) 197 allocate(peren ial_co2iceS(ngridmx,nslope))197 allocate(perennial_co2iceS(ngridmx,nslope)) 198 198 allocate(emisS(ip1jmp1,nslope)) 199 199 allocate(albedoS(ip1jmp1,nslope)) … … 202 202 CALL phyetat0 (fichnom,0,Lmodif,nsoilmx,ngridmx,llm,nqtot, 203 203 & day_ini_fi,timefi,tsurf,tsoil,albedo,emis,q2,qsurf, 204 & tauscaling,totcloudfrac,wstar,watercap,peren ial_co2ice,204 & tauscaling,totcloudfrac,wstar,watercap,perennial_co2ice, 205 205 & def_slope,def_slope_mean,subslope_dist) 206 206 … … 300 300 call gr_fi_dyn(1,ngridmx,iip1,jjp1,watercap(:,islope), 301 301 & watercapS(:,islope)) 302 call gr_fi_dyn(1,ngridmx,iip1,jjp1,peren ial_co2ice(:,islope),303 & peren ial_co2iceS(:,islope))302 call gr_fi_dyn(1,ngridmx,iip1,jjp1,perennial_co2ice(:,islope), 303 & perennial_co2iceS(:,islope)) 304 304 call gr_fi_dyn(nsoilmx,ngridmx,iip1,jjp1,tsoil(:,:,islope), 305 305 & tsoilS(:,:,islope)) … … 433 433 call write_archive(nid,ntime,'watercap','couche de glace h2o', 434 434 & 'kg/m2',2,watercapS) 435 call write_archive(nid,ntime,'peren ial_co2ice','couche de glace co2',436 & 'kg/m2',2,peren ial_co2iceS)435 call write_archive(nid,ntime,'perennial_co2ice','couche de glace co2', 436 & 'kg/m2',2,perennial_co2iceS) 437 437 call write_archive(nid,ntime,'tauscaling', 438 438 & 'dust conversion factor',' ',2,tauscalingS)
Note: See TracChangeset
for help on using the changeset viewer.