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.
Changeset 4132 for branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/TOOLS/OBSTOOLS/OOO/ooo/ooo.py – NEMO

Ignore:
Timestamp:
2013-10-25T12:57:37+02:00 (11 years ago)
Author:
andrewryan
Message:

renamed namoff to namooo to further reduce confusion with OFF_SRC, documentation, quick script, example namelist and data module have been updated and tested to reflect this change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/TOOLS/OBSTOOLS/OOO/ooo/ooo.py

    r4130 r4132  
    4343    types = args.forecast_types 
    4444    lead_times = args.lead_times 
    45     namoff, namcl4 = locator.forecasts(date=date, 
     45    namooo, namcl4 = locator.forecasts(date=date, 
    4646                                       types=types, 
    4747                                       lead_times=lead_times) 
     
    5151    sublists = nml.namelists(text) 
    5252 
    53     # namoff 
    54     if "namoff" not in sublists: 
     53    # namooo 
     54    if "namooo" not in sublists: 
    5555        # Attach boilerplate 
    56         text += nml.new("namoff") 
    57     text = nml.update("namoff", text, data=namoff) 
     56        text += nml.new("namooo") 
     57    text = nml.update("namooo", text, data=namooo) 
    5858 
    5959    # namcl4 
     
    6868    namcl4["cl4_sys"] = "FOAM" 
    6969    namcl4["cl4_cfg"] = "orca025" 
    70     namcl4["cl4_vn"] = "1.0" 
     70    namcl4["cl4_vn"] = "'1.0'" 
    7171    namcl4["cl4_prefix"] = "class4" 
    7272    namcl4["cl4_contact"] = "example@example.com" 
Note: See TracChangeset for help on using the changeset viewer.