New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
user/flavoni/libIGCM/iom_put (diff) – NEMO

Changes between Version 10 and Version 11 of user/flavoni/libIGCM/iom_put


Ignore:
Timestamp:
2009-10-20T16:00:36+02:00 (15 years ago)
Author:
flavoni
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • user/flavoni/libIGCM/iom_put

    v10 v11  
    4848 
    4949 
     50 * '''opa9.driver'''  
     51 
     52 1. possibility to use io_server (but not testing now) [[BR]] 
     53 ##--Variables used for XMLIO_SERVER configuration file  [[BR]] 
     54 # using_server: .TRUE.(.FALSE.) to use(bypass) the io_server  [[BR]] 
     55 PAT_SERVER=$( supergrep using_server ${SUBMIT_DIR}/PARAM/xmlio_server.def )  [[BR]] 
     56 
     57 
     58 ##--Variables used for iodef xml configuration file  [[BR]] 
     59 # file_name_grid_T : name of output file on grid T  [[BR]] 
     60 # file_name_grid_U : name of output file on grid U  [[BR]] 
     61 # file_name_grid_V : name of output file on grid V  [[BR]] 
     62 # file_name_grid_W : name of output file on grid W  [[BR]] 
     63 # file_name_icemod : name of output file for ice  [[BR]] 
     64 # output_frequency_oce : output frequency of ocean output files  [[BR]] 
     65 # output_frequency_ice : output frequency of ice output files [[BR]] 
     66 
     67 (( output_frequency_oce = $WriteFrequencyInDays * 86400 )) [[BR]] 
     68 (( output_frequency_ice = $WriteFrequencyInDays * 86400 )) [[BR]] 
     69 
     70 sed -e "s/<file_name_grid_T>/ \"${PREFIX}_${WF1}_grid_T.nc\"/" \ [[BR]] 
     71     -e "s/<file_name_grid_U>/ \"${PREFIX}_${WF1}_grid_U.nc\"/" \ [[BR]] 
     72     -e "s/<file_name_grid_V>/ \"${PREFIX}_${WF1}_grid_V.nc\"/" \ [[BR]] 
     73     -e "s/<file_name_grid_W>/ \"${PREFIX}_${WF1}_grid_W.nc\"/" \ [[BR]] 
     74     -e "s/<file_name_icemod>/ \"${PREFIX}_${WF1}_icemod.nc\"/" \ [[BR]] 
     75     -e "s/<output_frequency_oce>/ \"${output_frequency_oce}\"/g" \ [[BR]] 
     76     -e "s/<output_frequency_ice>/ \"${output_frequency_ice}\"/g" \ [[BR]] 
     77     iodef.xml > iodef.xml.tmp [[BR]] 
     78 
     79 IGCM_sys_Mv iodef.xml.tmp iodef.xml [[BR]] 
     80 
     81