-
Notifications
You must be signed in to change notification settings - Fork 23
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
Minor issues and questions #270
Comments
|
|
If you mean |
On 1., the current behaviour in This certainly needs fixing in at least one case: if the required time is before the first constraint data time, then the last constraint data value is still returned. This is obviously not what is wanted. I've opened #294 for this - see discussion there. |
On 8., both photolysis rates and environment variables are only evaluated when needed - each is interpolated individually, only when constrained. This happens each time Species interpolation is very similar - it is called once for each of the constrained species in At this time I don't see a way to reduce the cost of this - once I've profiled more extensively, that will shine a light on how expensive this all is, and whether it's worth looking harder at. |
Thanks for clarifying. About points 1 and 8 they are clearly not minor points, and there needs to be more investigation, so I cross them out from here and move the discussion to #294. About |
@spco I added this to the Milestone for version 1.1 because there are only a few points left and some of them are just questions to improve the documentation. If some require more time than you have at the moment, they can be moved to their own issue. |
On number 11 above - it shouldn't matter if the same species is mentioned twice in the same file of either |
On 3. above, currently we process RH, and then H2O. RH can be supplied as a constrained, or fixed value. H2O is then either calculated from RH (via
The setting of environment variables is one of the parts of this code that is a bit wonky in general. Ideally it wants a bit of an overhaul and rethinking to ensure that the user has decent flexibility in what they can supply as inputs, but cannot do things which are incompatible. We also already have a future plan to allow users to possibly add new environment variables themselves, so I'd suggest that we bundle all of these up into one work package in v2, rather than try to do much here. What do you think @rs028? |
On 6. above, we have the following naming:
so the differences are in |
Re the above on point 6, current the python |
Re 13. above, I'd keep this for v2, but ideally this should be possible to make the scripts version-independent, as they don't have too many dependencies. If it's not possible, I'd recommend upgrading to python 3 in AtChem2v2. |
Okay, so #354 solves 6 and 13 can be made into a separate (low priority issue). |
I would suggest we leave those both for the future - both are embroiled in the environment variables section, and should be treated together when we have a plan for that. |
And as such, I think our v1.1 milestones have all been completed? |
yes, I think we are good to go for v1.1. Unless there is something else you have time to do this week. |
I think my time here is finished for a while, so it's as good a time as any to release v1.1 from my perspective! |
Here are a list of various miscellaneous issues and questions that should be addressed, fixed or documented. They are in no particular order and most of them are fairly low priority. Some of these are features that just need to be documented in the wiki.
check that initial and and final model time are within the initial and final constraint timestamps before starting interpolation (see Interpolation of data is wrong when asked for a time before the first provided time #294 for this issue).get rid of the makefile.local files.make sure that H2O and RH are mutually exclusive (if one is constrained or constant the other must be calculated).
RO2list
andphotolysisRates.config
are specific to one version of the MCM. It should be easy to swap with other versions. [ addressed in PR Update MCM related files #290]make sure that the text in
environmentVariables.config
is unequivocal and intuitive (eg ROOFOPEN=ON is a bit confusing, ROOF=ON is better). Simplify where possibile (eg, JFAC=1 and JFAC=NOTUSED are the same). What happens if there is a typo (eg, "CONTRAINED" instead of "CONSTRAINED")?the naming of the variables in the user interface (ie, python tools, filenames of the constraints, name of variables in the configuration files) and in the code (ie, the f90 files) should be consistent. This was in part discussed in the beginning (eg consistent naming of Environment Variables #83) but we never really resolved. Should the name be the same in the user interface and in the code, or is it better to use different naming conventions? For example, at the moment its BLHEIGHT in the code, and in the config files, and BLH in the python tools and filenames of the constraints. (solved by Consistent env var names #354)is there a problem inmechanism.reac
? The header of the file seems to create problems whenproductionRatesOutput.config
andlossRatesOutput.config
don't have the same content and/or just one or no variables. [unclear] (solved by Unify rates output config files #321 and Add a header to mechanism.prod to match that of mechanism.reac. #325?)is interpolation of the constraints done before or during the integration? Is it ignored when there are no constraints or does it create an overhead?ismechanism-rate-definitions.f90
used at all?what isconstrainedFixedSpecies.config
for?what happens if a species or a photolysis rate appears twice (by mistake) inconstrainedPhotoRates.config
,constrainedPhotoRates.config
,constrainedSpecies.config
?iserrors.output
useful? most of the error messages seem to be printed to screen (i.e., redirected to the log file by the HPC system). [moved to Improve output files #320]is it worth upgrading the Python scripts to Python3? Or making them indipendent on the Python version present on the system?
What isinitialConditionsSetting.output
and what does it mean? It can get really big. [moved to Improve output files #320]The text was updated successfully, but these errors were encountered: