Ignore:
Timestamp:
Jul 18, 2019, 2:09:40 PM (5 years ago)
Author:
Laurent Fairhead
Message:

Modifications needed after DNAMICO/LMDZ merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phydev/phyredem.F90

    r2395 r3546  
    1313  INTEGER,PARAMETER :: tab_cntrl_len=100
    1414  REAL :: tab_cntrl(tab_cntrl_len)
     15  INTEGER :: pass
    1516
    1617  ! open file
     
    2122
    2223  tab_cntrl(:)=0.0
    23  
    2424
    25   CALL put_var("controle", "Control parameters", tab_cntrl)
     25  DO pass=1,2   ! pass=1 netcdf definition ; pass=2 netcdf write
     26
     27    CALL put_var(pass, "controle", "Control parameters", tab_cntrl)
    2628
    2729  ! coordinates
    2830
    29   CALL put_field("longitude", "Longitudes on physics grid", longitude_deg)
     31    CALL put_field(pass, "longitude", "Longitudes on physics grid", longitude_deg)
    3032     
    31   CALL put_field("latitude", "Latitudes on physics grid", latitude_deg)
     33    CALL put_field(pass, "latitude", "Latitudes on physics grid", latitude_deg)
    3234
     35  ENDDO
    3336  ! close file
    3437
Note: See TracChangeset for help on using the changeset viewer.