Open
Conversation
Synkevych
commented
Jan 17, 2023
Comment on lines
+1
to
+24
| *************************************************************************************************************** | ||
| * * | ||
| * * | ||
| * * | ||
| * 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, |
Owner
Author
There was a problem hiding this comment.
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, |
Owner
Author
There was a problem hiding this comment.
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) |
Owner
Author
There was a problem hiding this comment.
incorrect date, should be user_params['end_date_time']
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The user provides 2 files:
We download grib data for this calculation, prepare input files and run calculations.