Ignore:
Timestamp:
Apr 17, 2016, 10:23:21 PM (9 years ago)
Author:
emillour
Message:

Mars GCM:

  • fix for 1D in writediagfi to enable writing at "ecritphy" rate.
  • removed iniprint.h from phymars/dyn1d since it is in "misc"
  • Some code cleanup in anticipation of future updates:
    • changed variable names in comgeomphy.F90: give them more explicit names: rlond => longitude , rlatd => latitude, airephy => cell_area, cuphy => dx , cvphy => dy
    • removed long(), lati() and area() from comgeomfi_h.F90, use longitude(), latitude() and cell_are() from comgeomphy.F90 instead

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/albedocaps.F90

    r1528 r1541  
    66! to use the 'getin' routine
    77use ioipsl_getincom, only: getin
    8 use comgeomfi_h, only: lati ! grid point latitudes (rad)
     8use comgeomphy, only: latitude ! grid point latitudes (rad)
    99use surfdat_h, only: TESicealbedo, TESice_Ncoef, TESice_Scoef, &
    1010                     emisice, albedice, watercaptag, albedo_h2o_ice, &
     
    5151
    5252do ig=1,ngrid
    53   if (lati(ig).lt.0.) then
     53  if (latitude(ig).lt.0.) then
    5454    icap=2 ! Southern hemisphere
    5555  else
     
    8787subroutine TES_icecap_albedo(zls,ig,alb,icap)
    8888
    89 use comgeomfi_h, only: lati, long
     89use comgeomphy, only: latitude, longitude ! in radians
    9090use surfdat_h, only: albedice, TESice_Ncoef, TESice_Scoef
    9191use netcdf, only: nf90_open, NF90_NOWRITE, NF90_NOERR, &
     
    281281! Check that latitude is such that there is TES data to use
    282282! (ie: latitude 45 deg and poleward) otherwise use 'default' albedoes
    283 latd=lati(ig)*radeg ! latitude, in degrees
     283latd=latitude(ig)*radeg ! latitude, in degrees
    284284if (icap.eq.1) then
    285285 ! North hemisphere
     
    360360
    361361! 3. Identify encompassing longitudes
    362 lond=long(ig)*radeg ! east longitude, in degrees
     362lond=longitude(ig)*radeg ! east longitude, in degrees
    363363if (lond.lt.TESlon(1)) then
    364364  loninf=TESlonsize
Note: See TracChangeset for help on using the changeset viewer.