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 – NEMO
wiki:user/flavoni/libIGCM/iom_put

Version 11 (modified by flavoni, 14 years ago) (diff)

--

Integrating IOM_PUT


Integrating IOM_PUT


  • Done:

Add in modispl/util/mod.def in NEMO_IGCM:

#-H- NEMO_IGCM NEMO trunk
#-H- NEMO_IGCM IOIPSL/src tag v2_1_8
#-H- NEMO_IGCM libIGCM tag libIGCM_v1_3
#-H- NEMO_IGCM NEMO_XMLIO_SERVER svn r37
#-C- NEMO_IGCM XMLF90 HEAD 12 XMLF90 modeles
#-C- NEMO_IGCM XMLIO_SERVER/trunk 37 12 XMLIO_SERVER modeles
#-C- NEMO_IGCM trunk/EXTERNAL/XMLF90 HEAD 7 XMLF90/external modeles
#-C- NEMO_IGCM trunk/EXTERNAL/XMLIO_SERVER HEAD 7 XMLIO_SERVER/external modeles

changes:

  • lim2.card
  1. changed PREFIX name for output .nc file
    [OutputFiles?]
    List= (${PREFIX}_${WF1}_icemod.nc, ${R_OUT_ICE_NWRITE}/${PREFIX}_${WF1}_icemod.nc, Post_1M_icemod)

  1. removed deptht in ncrcat (for monitoring, no good to do ncrcat in 3 dimensions for ice)
    [Post_1M_icemod]
    GatherWithInternal? = (nav_lon, nav_lat, time_counter)
  1. removed ileadfra for the moment
    TimeSeriesVars? = (iicethic, isnowthi, iicevelu, iicevelv)

NOTE: for this moment ileadfra removed because in iomdef.xml there are new variables' names (like IPPC requested) and ileadfra there is no more in output from nemo's code, waiting for that nemo put in output 1-soicecov (=ileadfra)

  • opa9.card
  1. changed PREFIX name for output .nc file
    [OutputFiles?]
    List= (${PREFIX}_${WF1}'_grid_T.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_T.nc, Post_1M_grid_T),\
    (${PREFIX}_${WF1}_grid_U.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_U.nc, Post_1M_grid_U),\ [BR]] (${PREFIX}_${WF1}_grid_V.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_V.nc, Post_1M_grid_V),\
    (${PREFIX}_${WF1}_grid_W.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_W.nc, Post_1M_grid_W),\
  • opa9.driver
  1. possibility to use io_server (but not testing now)
    ##--Variables used for XMLIO_SERVER configuration file
    # using_server: .TRUE.(.FALSE.) to use(bypass) the io_server
    PAT_SERVER=$( supergrep using_server ${SUBMIT_DIR}/PARAM/xmlio_server.def )

##--Variables used for iodef xml configuration file
# file_name_grid_T : name of output file on grid T
# file_name_grid_U : name of output file on grid U
# file_name_grid_V : name of output file on grid V
# file_name_grid_W : name of output file on grid W
# file_name_icemod : name of output file for ice
# output_frequency_oce : output frequency of ocean output files
# output_frequency_ice : output frequency of ice output files

(( output_frequency_oce = $WriteFrequencyInDays? * 86400 ))
(( output_frequency_ice = $WriteFrequencyInDays? * 86400 ))

sed -e "s/<file_name_grid_T>/ \"${PREFIX}_${WF1}_grid_T.nc\"/" \

-e "s/<file_name_grid_U>/ \"${PREFIX}_${WF1}_grid_U.nc\"/" \
-e "s/<file_name_grid_V>/ \"${PREFIX}_${WF1}_grid_V.nc\"/" \
-e "s/<file_name_grid_W>/ \"${PREFIX}_${WF1}_grid_W.nc\"/" \
-e "s/<file_name_icemod>/ \"${PREFIX}_${WF1}_icemod.nc\"/" \
-e "s/<output_frequency_oce>/ \"${output_frequency_oce}\"/g" \
-e "s/<output_frequency_ice>/ \"${output_frequency_ice}\"/g" \
iodef.xml > iodef.xml.tmp

IGCM_sys_Mv iodef.xml.tmp iodef.xml