Extract data from Previmer database (Section previmer)ΒΆ
This section extracts data from Previmer database
If this section is not in your configuration file
Download it from svn and add it in you configuration file
svn checkout https://forge.ifremer.fr/svn/previmerchainop/trunk/formation/
service7>693% pwd
/work/lpineaug/FORMATION_CHAINOP/formation
service7>694% ls
section_previmer.cfg section_wave.cfg
Add previmer in your treatments, section treatments
[treatments]
#list = ['meteo', 'obc', 'river', 'rank_0', 'rank_1', 'format_oco','demerliac','mirror_copy','finalize']
list = ['meteo', 'obc', 'river', 'rank_0', 'rank_1','format_oco','demerliac','mirror_copy','finalize','previmer']
Add previmer directory in section directories
[directories]
previmer_dir = '%(operational_dir)s/inputs/'
To extract data from Previmer database, launch previmer:
launch_mangae config_mangae.cfg -s 2014-01-01,00:00 -e 2014-01-03,00:00 --only previmer
- To follow if the run is OK
check if previmer is OK in f1-mangae.xml
in case of problem, check the log file ./logs/MANGAE2500-r1630/20140101_20140103/previmer.log
Output file : ./inputs/MANGAE2500-r1630/previmer/MENOR.nc
List of files that have been concatenated: ./inputs/MANGAE2500-r1630/previmer/PREVIMER_F2-MARS3D-MENOR1200_files.txt
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Section previmer
# Recuperation des donnees de modeles previmer
# arguments : ncrop = nb de maille exclues du modele par ncks lors de la recuperation
# si imin,imax,jmin,jmax : ncks sur le modele source (pas pris en compte si ncrop)
# step : frequence du modele
# make_regularize : Passe les dimensions du modeles de ni,nj a lon,lat et permet ensuite
# d'extraire une zone avec lonmin,lonmax,latmin,latmax (True par defaut)
# Necessaire pour d'autres functions (combine ou fusion) - gourmand en memoire
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[[previmer]]
depend = []
description = 'Preparation of previmer data'
name = 'previmer'
launch = 'tools.previmer.launch_previmer'
function = 'prepare'
#memory = '20000000000'
[[[arguments]]]
model = 'PREVIMER_F2-MARS3D-MENOR1200'
option = ''
verbose = True
out = 'MENOR.nc'
lonmin = 8.0
lonmax = 10.0
latmin = 40.5
latmax = 43.5
#variables = ['H0','TEMP','SAL','UZ','VZ','hc']
make_regularize=False
You can specify geographic boundaries and variables
For Previmer model, you can choose between:
PREVIMER_F1-MARS3D-MANGAE2500
PREVIMER_F1-MARS3D-MANGAE4000
PREVIMER_F1-MARS3D-MANGA4000
PREVIMER_F2-MARS3D-MENOR1200
PREVIMER_F2-MARS3D-MENOR1200-SN (MENOR avec Spectral Nudging)
PREVIMER_F1-MARS3D-MANGA4000
PREVIMER_L1-MARS2D-ATLNE2000
PREVIMER_L1-MARS2D-MANGA700
PREVIMER_L1-MARS2D-MANE250
PREVIMER_L1-MARS2D-MANW250
PREVIMER_L1-MARS2D-FINIS250
PREVIMER_L1-MARS3D-BREST50
PREVIMER_WW3-FINIS-200M
PREVIMER_WW3-NORGAS-UG-HINDCAST