Changeset 1442 for trunk/UTIL


Ignore:
Timestamp:
Jun 4, 2015, 4:23:32 PM (10 years ago)
Author:
slebonnois
Message:

SL: update of the Venus GCM, + corrections on routines used for newstart/start2archive for Titan and Venus, + some modifications on tools

Location:
trunk/UTIL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/compile

    r1366 r1442  
    44# > compile zrecast
    55
    6 # pgf sur les machines du LMD:
    7 #-----------------------------
     6# pgf sur les machines du LMD (ferme):
     7#-------------------------------------
    88#pgf95 -Bstatic $1.F90 \
    99#-I/distrib/local/netcdf/pgi_7.1-6_64/include \
    1010#-L/distrib/local/netcdf/pgi_7.1-6_64/lib -lnetcdf -o $1.e
    1111
     12# gfortran au LMD
     13#----------------
     14gfortran $1.F90 \
     15-I/d2/emlmd/netcdf64-4.0.1_gfortran/include \
     16-L/d2/emlmd/netcdf64-4.0.1_gfortran/lib -lnetcdf -o $1.e
     17
    1218# ifort
    1319#------
    14 ifort $1.F90 \
    15 -I$NETCDF/include \
    16 -L$NETCDF/lib -lnetcdf -o $1.e
     20#ifort $1.F90 \
     21#-I$NETCDF/include \
     22#-L$NETCDF/lib -lnetcdf -o $1.e
    1723
    1824#-----------------------------------------------------------------
  • trunk/UTIL/zrecast.F90

    r1366 r1442  
    8080
    8181character (len=64) :: text ! to store some text
     82character (len=64) :: timeunit ! to store the units for time axis
    8283character (len=64) :: tmpvarname ! temporarily store a variable name
    8384integer tmpvarid ! temporarily store a variable ID
     
    459460  endif
    460461endif
     462timeunit="  "
     463ierr=NF_GET_ATT_TEXT(infid,tmpvarid,'units',timeunit)
    461464
    462465! altlength
     
    14001403  stop "Error: Problem writing long_name for Time"
    14011404endif
    1402 text='days since 0000-01-1 00:00:00'
    1403 ierr=NF_PUT_ATT_TEXT(outfid,time_varid,'units',len_trim(text),text)
     1405ierr=NF_PUT_ATT_TEXT(outfid,time_varid,'units',len_trim(timeunit),timeunit)
    14041406if (ierr.ne.NF_NOERR) then
    14051407  stop "Error: Problem writing units for Time"
Note: See TracChangeset for help on using the changeset viewer.