Ignore:
Timestamp:
Nov 19, 2021, 4:58:59 PM (3 years ago)
Author:
lguez
Message:

Sync latest trunk changes to Ocean_skin

Location:
LMDZ6/branches/Ocean_skin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin

  • LMDZ6/branches/Ocean_skin/libf/phylmd/iotd_ecrit.F90

    r3102 r4013  
    6363     
    6464
     65
     66       if (n_names_iotd_def>0 .and..not.any(names_iotd_def==nom)) return
    6567!***************************************************************
    6668! Initialisation of 'firstnom' and create/open the "diagfi.nc" NetCDF file
     
    7476
    7577
    76 ! Compute/write/extend 'Time' coordinate (date given in days)
     78! Compute/write/extend 'time' coordinate (date given in days)
    7779! (done every "first call" (at given time level) to writediagfi)
    7880! Note: date is incremented as 1 step ahead of physics time
     
    8486        endif
    8587
    86 !      print*,'nom ',nom,firstnom
     88       !print*,'nom ',nom,firstnom
    8789
    8890!! Quand on tombe sur la premiere variable on ajoute un pas de temps
     
    9395
    9496!!          print*,'ntime ',ntime
    95            date=ntime
     97           date=iotd_t0+ntime*iotd_ts
     98           !print*,'iotd_ecrit ',iotd_ts,ntime, date
    9699!          date= float (zitau +1)/float (day_step)
    97100
    98101           ! compute corresponding date (in days and fractions thereof)
    99            ! Get NetCDF ID of 'Time' variable
     102           ! Get NetCDF ID of 'time' variable
    100103
    101104           ierr=NF_SYNC(nid)
    102105
    103            ierr= NF_INQ_VARID(nid,"Time",varid)
    104            ! Write (append) the new date to the 'Time' array
     106           ierr= NF_INQ_VARID(nid,"time",varid)
     107           ! Write (append) the new date to the 'time' array
    105108
    106109
     
    159162          ierr = NF_REDEF (nid)
    160163          ierr = NF_DEF_VAR(nid,nom,NF_FLOAT,ndim,dim_cc,varid)
    161           print*,'DEF ',nom,nid,varid
     164          !print*,'DEF ',nom,nid,varid
    162165          ierr = NF_ENDDEF(nid)
    163166      else
    164167         ierr= NF_INQ_VARID(nid,nom,varid)
    165           print*,'INQ ',nom,nid,varid
     168          !print*,'INQ ',nom,nid,varid
    166169! Commandes pour recuperer automatiquement les coordonnees
    167170!             ierr= NF_INQ_DIMID(nid,"longitude",id(1))
Note: See TracChangeset for help on using the changeset viewer.