Changes between Version 81 and Version 82 of Projects/NEMOVAR/Notes


Ignore:
Timestamp:
04/08/15 11:12:19 (4 years ago)
Author:
cthomas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Projects/NEMOVAR/Notes

    v81 v82  
    198198  iau variables (`INDIR_INCREMENTS`, `OUTDIR_ANALYSIS_RESTARTS`)  
    199199* `bin/helper_functions.sh`: two helper functions 
    200 * `bin/run_nemo_cice`: patched version removes `handle_observations` and processing `profb` 
     200* `bin/run_nemo_cice`: run the assimilation 
    201201* `bin/update_nemo_nl`: script to update `namelist`s 
    202202* `meta/rose-meta.conf`: large number of definitions including of `namelist` variables 
     
    343343It has already been outlined in [#Suiteoperation Suite operation]; this section contains further details.  
    344344 
    345 The directory `$CYLC_TASK_WORK_DIR` corresponds to `$DATADIR/cylc-run/puma-aa168/share/<date>`, where `<date>` is the date of this particular cycle.  
    346  
    347 Similarly, `$ROSE_DATAC` is the directory containing data for this cycle time (see [http://metomi.github.io/rose/doc/rose-rug-suites-II.html here] for more information).  
     345The directory `$CYLC_TASK_WORK_DIR` corresponds to `$DATADIR/cylc-run/puma-aa168/share/<date>/<task>`, where `<date>` is the date of this particular cycle and `<task>` is the task in question, e.g. `nemo_cice_obsoper`.  
     346 
     347Similarly, `$ROSE_DATAC` is the directory containing data for this cycle time (see [http://metomi.github.io/rose/doc/rose-rug-suites-II.html here] for more information). This corresponds to `$DATADIR/cylc-run/puma-aa168/work/<date>/<task>`.  
    348348 
    349349 
     
    355355Flux files from `$ROSE_DATAC/fluxes` are softlinked into this directory (in the script this directory is called `$INDIR_FLUXES`; in `suite.rc` this points to `$FLUX_DIR` which itself points to `$ROSE_DATAC/fluxes`).  
    356356 
    357 The ancillary and background restarts are also softlinked into `$CYLC_TASK_WORK_DIR`.  
     357The ancillary files, background restarts, altimeter bias and observations are also softlinked into `$CYLC_TASK_WORK_DIR`.  
     358 
     359The function `handle_observations` is then used to update the list of input files.   
     360The syntax is as follows: 
     361{{{ 
     362handle_observations prefix namelist_file_list namelist_flags 
     363}}} 
     364Files of the form `prefix_0*.nc` are searched for and added to a list which is added to the namelist.  
     365This is done with the `update_namelist` script which is found in `helper_functions.sh` and is used as follows: 
     366{{{ 
     367update_namelist $namelist_filename $namelist_parameter $parameter_value 
     368}}} 
     369This sets `namelist_parameter=parameter_value` in `namelist_filename`.  
     370Finally all of the `namelist_flags` are set to true.  
     371 
     372An example usage is 
     373{{{ 
     374handle_observations profile profbfiles ln_probn ln_t3d ln_s3d 
     375}}} 
     376The `prefix` here is `profile`, so files called `profile_0*.nc` are searched for.  
     377`namelist_file_list` is `profbfiles` and the three `namelist_flags` are set to true: `ln_probn`, `ln_t3d`, `ln_s3d`.  
     378 
     379 
     380 
     381 
    358382 
    359383