Changeset 1356 for trunk/LMDZ.VENUS/Tools
- Timestamp:
- Oct 8, 2014, 9:26:28 AM (10 years ago)
- Location:
- trunk/LMDZ.VENUS/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.VENUS/Tools/angmom.F90
r842 r1356 242 242 call get_var3d(infid,lonlength,latlength,timelength,text,ps,ierr1,ierr2) 243 243 if (ierr1.ne.NF_NOERR) then 244 write(*,*) " looking for ps olinstead... "245 text="ps ol"244 write(*,*) " looking for ps instead... " 245 text="ps" 246 246 call get_var3d(infid,lonlength,latlength,timelength,text,ps,ierr1,ierr2) 247 if (ierr1.ne.NF_NOERR) stop "Error: Failed to get psol ID" 247 if (ierr1.ne.NF_NOERR) then 248 write(*,*) " looking for psol instead... " 249 text="psol" 250 call get_var3d(infid,lonlength,latlength,timelength,text,ps,ierr1,ierr2) 251 if (ierr1.ne.NF_NOERR) stop "Error: Failed to get psol ID" 252 endif 248 253 endif 249 254 if (ierr2.ne.NF_NOERR) stop "Error: Failed reading surface pressure" … … 467 472 do ilev=1,altlength 468 473 ! Need to be consistent with GCM computations 469 ! if (za(ilon,ilat,ilev,itim).ne.miss_val) then474 if (vitu(ilon,ilat,ilev,itim).ne.miss_val) then 470 475 rayon(ilon,ilat,ilev,itim) = a0 471 476 ! rayon(ilon,ilat,ilev,itim) = za(ilon,ilat,ilev,itim) + a0 472 477 grav(ilon,ilat,ilev,itim) = g0*a0*a0 & 473 478 /(rayon(ilon,ilat,ilev,itim)*rayon(ilon,ilat,ilev,itim)) 474 !else475 !rayon(ilon,ilat,ilev,itim) = miss_val476 !grav(ilon,ilat,ilev,itim) = miss_val477 !endif479 else 480 rayon(ilon,ilat,ilev,itim) = miss_val 481 grav(ilon,ilat,ilev,itim) = miss_val 482 endif 478 483 enddo 479 484 enddo … … 526 531 do ilat=1,latlength 527 532 do ilev=1,altlength 533 if (rayon(ilon,ilat,ilev,itim).ne.miss_val) then 528 534 oaam(itim) = oaam(itim) & 529 535 + osam(ilon,ilat,ilev,itim)/ hadday * dmass(ilon,ilat,ilev,itim) 530 536 raam(itim) = raam(itim) & 531 537 + rsam(ilon,ilat,ilev,itim)/ hadday * dmass(ilon,ilat,ilev,itim) 538 endif 532 539 enddo 533 540 enddo -
trunk/LMDZ.VENUS/Tools/compile_pgf
r816 r1356 1 1 # path for netcdf should be adapted to your configuration ! 2 2 3 \rm planet.h4 ln -s $2.h planet.h3 #\rm planet.h 4 #ln -s $2.h planet.h 5 5 pgf95 -Bstatic cpdet.F90 moyzon.F moyzon2.F moytim.F dx_dp.F epflux.F90 \ 6 6 io.F90 dmass.F90 reverse.F90 $1.F90 \
Note: See TracChangeset
for help on using the changeset viewer.