Changeset 1541 for trunk/LMDZ.MARS/libf/phymars/albedocaps.F90
- Timestamp:
- Apr 17, 2016, 10:23:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/albedocaps.F90
r1528 r1541 6 6 ! to use the 'getin' routine 7 7 use ioipsl_getincom, only: getin 8 use comgeom fi_h, only: lati! grid point latitudes (rad)8 use comgeomphy, only: latitude ! grid point latitudes (rad) 9 9 use surfdat_h, only: TESicealbedo, TESice_Ncoef, TESice_Scoef, & 10 10 emisice, albedice, watercaptag, albedo_h2o_ice, & … … 51 51 52 52 do ig=1,ngrid 53 if (lati (ig).lt.0.) then53 if (latitude(ig).lt.0.) then 54 54 icap=2 ! Southern hemisphere 55 55 else … … 87 87 subroutine TES_icecap_albedo(zls,ig,alb,icap) 88 88 89 use comgeom fi_h, only: lati, long89 use comgeomphy, only: latitude, longitude ! in radians 90 90 use surfdat_h, only: albedice, TESice_Ncoef, TESice_Scoef 91 91 use netcdf, only: nf90_open, NF90_NOWRITE, NF90_NOERR, & … … 281 281 ! Check that latitude is such that there is TES data to use 282 282 ! (ie: latitude 45 deg and poleward) otherwise use 'default' albedoes 283 latd=lati (ig)*radeg ! latitude, in degrees283 latd=latitude(ig)*radeg ! latitude, in degrees 284 284 if (icap.eq.1) then 285 285 ! North hemisphere … … 360 360 361 361 ! 3. Identify encompassing longitudes 362 lond=long (ig)*radeg ! east longitude, in degrees362 lond=longitude(ig)*radeg ! east longitude, in degrees 363 363 if (lond.lt.TESlon(1)) then 364 364 loninf=TESlonsize
Note: See TracChangeset
for help on using the changeset viewer.