Changeset 56 for LMDZ.3.3/trunk


Ignore:
Timestamp:
Feb 18, 2000, 2:38:11 PM (25 years ago)
Author:
lmdzadmin
Message:

Probleme de calendrier regle. LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/trunk/libf/dyn3d/dynredem.F

    r2 r56  
    11      SUBROUTINE dynredem0(fichnom,idayref,anneeref,phis,nq)
     2      USE IOIPSL
    23      IMPLICIT NONE
    34c=======================================================================
     
    4445      INTEGER idim_tim
    4546      INTEGER nid,nvarid
     47
     48      REAL zan0,zjulian,hours
     49      INTEGER yyears0,jjour0, mmois0
     50      character*30 unites
     51
     52
    4653c-----------------------------------------------------------------------
    4754      modname='dynredem'
     55
     56      call ymds2ju(anneeref,1,idayref,0.0, zjulian)
     57      call ju2ymds(zjulian, yyears0,mmois0,jjour0,hours)
     58       
    4859
    4960      DO l=1,length
     
    353364      ierr = NF_PUT_ATT_TEXT (nid, nvarid, "title", 19,
    354365     .                       "Temps de simulation")
     366      write(unites,200)yyears0,mmois0,jjour0
     367200   format('days since ',i4,'-',i2.2,'-',i2.2,' 00:00:00')
     368      ierr = NF_PUT_ATT_TEXT (nid, nvarid, "units", 30,
     369     .                         unites)
     370
    355371c
    356372      dims4(1) = idim_rlonu
Note: See TracChangeset for help on using the changeset viewer.