10.4.1_peseiFPv9.3.1FPv9.3.1b_testingFPv9.3.2GFS_025bugfixes+enhancementsdevfp9.3.1-20161214-nc4grib2nc4_repairrelease-10release-10.4.1scaling-bugunivie
Last change
on this file since c04b739 was
5763793,
checked in by Anne Fouilloux <annefou@…>, 9 years ago
|
Add pre-processing programs and examples. This is still under development!
|
-
Property mode set to
100755
|
File size:
1.1 KB
|
Rev | Line | |
---|
[5763793] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | if [ -z "$FLEXPART_HOME" ]; then |
---|
| 4 | # if FLEXPART_HOME is not defined we assume you run this test from tests/preproc and |
---|
| 5 | # flexpart is installed in $PWD/../.. |
---|
| 6 | # |
---|
| 7 | export FLEXPART_HOME=$PWD/../.. |
---|
| 8 | fi |
---|
| 9 | |
---|
| 10 | # For this test, we generate WINDFIELDS in the current directory |
---|
| 11 | |
---|
| 12 | FLEXPART_WINDS=$PWD/WIND_FIELDS |
---|
| 13 | |
---|
| 14 | # You may change these dates if you want to test your installation on other dates! |
---|
| 15 | # SDATE is the start date |
---|
| 16 | SDATE=20070119 |
---|
| 17 | # EDATE is the end date |
---|
| 18 | EDATE=20070120 |
---|
| 19 | |
---|
| 20 | # This directory contains GRIB templates for generating WINDFIELDS from ECMWF ERA-Interim data. |
---|
| 21 | export GRIB_TEMPLATES_PATH=$FLEXPART_HOME/preproc/grib_templates |
---|
| 22 | |
---|
| 23 | # Extract ECMWF ERA-Interim data from ECMWF Meteorological Archive (MARS) with ecmwfapi |
---|
| 24 | # we do not specify the output directory so data will be stored in the current directory |
---|
| 25 | getEIdata.py --start_date=$SDATE --end_date=$EDATE --area=90.0/-179.0/-90.0/180.0 |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | # Generate FLEXPART WINDFIELDS from ECMWF ERA-Interim data and store them in $FLEXPART_WINDS |
---|
| 29 | prepareFLEXPART.py --start_date=$SDATE --end_date=$EDATE --namelist=convert.namelist --inputdir=./ \ |
---|
| 30 | --outputdir=$FLEXPART_WINDS |
---|
Note: See
TracBrowser
for help on using the repository browser.