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 18 and Version 19 of user/flavoni/libIGCM/iom_put


Ignore:
Timestamp:
2009-10-29T16:54:22+01:00 (14 years ago)
Author:
flavoni
Comment:

--

Legend:

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

    v18 v19  
    4646 1. changed PREFIX name for output .nc file  [[BR]] 
    4747 [OutputFiles]  [[BR]] 
    48  List= ('''${PREFIX}_${WF1}''''_grid_T.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_T.nc, Post_1M_grid_T),\ [[BR]] 
     48 List= ('''${PREFIX_NEMO}''''_grid_T.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_T.nc, Post_1M_grid_T),\ [[BR]] 
    4949 ('''${PREFIX_NEMO}'''_grid_U.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_U.nc, Post_1M_grid_U),\ [BR]] 
    5050 ('''${PREFIX_NEMO}'''_grid_V.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_V.nc, Post_1M_grid_V),\ [[BR]] 
     
    6363 
    6464 
    65  ##--Variables used for iodef xml configuration file  [[BR]] 
    66  # file_name_grid_T : name of output file on grid T  [[BR]] 
    67  # file_name_grid_U : name of output file on grid U  [[BR]] 
    68  # file_name_grid_V : name of output file on grid V  [[BR]] 
    69  # file_name_grid_W : name of output file on grid W  [[BR]] 
    70  # file_name_icemod : name of output file for ice  [[BR]] 
    71  # output_frequency_oce : output frequency of ocean output files  [[BR]] 
    72  # output_frequency_ice : output frequency of ice output files [[BR]] 
     65 2. Added output_frequency in days, if not xml file is not correct  [[BR]] 
     66 (( output_frequency_oce = $WriteFrequencyInDays * 86400 )) [[BR]] 
     67 (( output_frequency_ice = $WriteFrequencyInDays * 86400 ))  
    7368 
    74  (( output_frequency_oce = $WriteFrequencyInDays * 86400 )) [[BR]] 
    75  (( output_frequency_ice = $WriteFrequencyInDays * 86400 )) [[BR]] 
    76  
     69 3. replaced output filenames in xml file [[BR]] 
    7770 sed -e "s/<file_name_grid_T>/ \"${PREFIX}_${WF1}_grid_T.nc\"/" \ [[BR]] 
    7871 -e "s/<file_name_grid_U>/ \"${PREFIX}_${WF1}_grid_U.nc\"/" \ [[BR]] 
     
    8780 
    8881 
    89  # Determine number of day(s) in WriteFrequency :  [[BR]] 
     82 4. determine number of day(s) in WriteFrequency :  [[BR]] 
    9083   case ${config_UserChoices_OCE_WriteFrquency} in 
    9184            1Y|1y)