-
Notifications
You must be signed in to change notification settings - Fork 0
Run calculation by user data #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| *************************************************************************************************************** | ||
| * * | ||
| * * | ||
| * * | ||
| * Input file for the Lagrangian particle dispersion model FLEXPART * | ||
| * Please select your options * | ||
| * * | ||
| * * | ||
| * * | ||
| *************************************************************************************************************** | ||
| &RELEASES_CTRL | ||
| NSPEC = 1, ! Total number of species | ||
| SPECNUM_REL= 16, ! Species numbers in directory SPECIES | ||
| / | ||
| &RELEASE | ||
| IDATE1 = start_date, | ||
| ITIME1 = start_time, | ||
| IDATE2 = end_date, | ||
| ITIME2 = end_time, | ||
| LON1 = lon_1, | ||
| LON2 = 30.10, | ||
| LAT1 = lat_1, | ||
| LAT2 = 50.90, | ||
| Z1 = 0.00, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be removed, all .back files and csv_parser
| import xml.etree.ElementTree as ET | ||
| from subprocess import call | ||
|
|
||
| logging.basicConfig(filename="parsing.log", level=logging.INFO, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file should be in output folder
|
|
||
| def parse_command_file(): | ||
| start_date_time = user_params['start_date_time'] | ||
| end_date_time = releases_params[-1]['end_date_time'] + timedelta(hours=1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incorrect date, should be user_params['end_date_time']
The user provides 2 files:
We download grib data for this calculation, prepare input files and run calculations.