Changeset f61e1df in flex_extract.git for Source/Python/Mods/prepare_flexpart.py
- Timestamp:
- Jul 9, 2020, 8:13:25 AM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 82564d8
- Parents:
- 3e13e02 (diff), 6931f61 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/Mods/prepare_flexpart.py
r026b359 rf61e1df 13 13 # - job templates suitable for twice daily operational dissemination 14 14 # - dividing retrievals of longer periods into digestable chunks 15 # - retrieve also longer 16 # short 15 # - retrieve also longer-term forecasts, not only analyses and 16 # short-term forecast data 17 17 # - conversion into GRIB2 18 # - conversion into .fp format for faster execution of FLEXPART18 # 19 19 # 20 20 # February 2018 - Anne Philipp (University of Vienna): … … 45 45 46 46 It converts the bunch of grib files extracted via get_mars_data before, 47 by doing the necessary conversion to getconsistent grids or the47 by doing the necessary conversion to obtain consistent grids or the 48 48 disaggregation of flux data. Finally, the data fields are combined 49 in files per available hourwith the naming convention xxYYMMDDHH,49 in files per hour available with the naming convention xxYYMMDDHH, 50 50 where xx should be 2 arbitrary letters (mostly xx is chosen to be "EN"). 51 51 … … 88 88 # ------------------------------------------------------------------------------ 89 89 def main(): 90 '''Controls the program to prepare flexpart input files from marsdata.90 '''Controls the program to prepare FLEXPART input files from MARS data. 91 91 92 This is done if it is called directly fromcommand line.93 Then it also takes program call arguments and control fileinput.92 This is done if called directly from the command line. 93 Then, arguments and control file are taken as input. 94 94 95 95 Parameters … … 108 108 109 109 def prepare_flexpart(ppid, c): 110 '''Converts the mars data into flexpart ready input files.110 '''Converts the MARS data into files ready as input for FLEXPART. 111 111 112 Specific data fields are converted to a different grid and the flux 113 data are going to be disaggregated. The data fields are collected by 114 hour and stored in a file with a specific FLEXPART relevant naming 115 convention. 112 Certain fields are converted to a different grid and the flux 113 data are disaggregated. Fields are collected by hour and stored in a file 114 with a specific naming convention. 116 115 117 116 Parameters
Note: See TracChangeset
for help on using the changeset viewer.