-
Notifications
You must be signed in to change notification settings - Fork 64
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
Merge main into feature/capgen (merge after #493) #499
Commits on Jul 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3fa6b4c - Browse repository at this point
Copy the full SHA 3fa6b4cView commit details
Commits on Sep 2, 2021
-
Update scripts/ccpp_prebuild.py and scripts/mkstatic.py to create she…
…ll and cmake include files for the static API
Configuration menu - View commit details
-
Copy full SHA for d8d98a2 - Browse repository at this point
Copy the full SHA d8d98a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2adecf3 - Browse repository at this point
Copy the full SHA 2adecf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 958b284 - Browse repository at this point
Copy the full SHA 958b284View commit details
Commits on Nov 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f2619d9 - Browse repository at this point
Copy the full SHA f2619d9View commit details -
A few structure changes, add function for parsing arguments and check…
…ing variable against standard names
Configuration menu - View commit details
-
Copy full SHA for 2f209a5 - Browse repository at this point
Copy the full SHA 2f209a5View commit details -
Change "xml" to "sdf" to better reflect other script conventions, fle…
…sh out argument parsing routine more
Configuration menu - View commit details
-
Copy full SHA for 5715006 - Browse repository at this point
Copy the full SHA 5715006View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4160be2 - Browse repository at this point
Copy the full SHA 4160be2View commit details -
Create new method and attribute for Suite class that creates a call t…
…ree for that Suite: in other words, a list of schemes in the order that they are called, including duplicates and subcycle loops
Configuration menu - View commit details
-
Copy full SHA for e9da740 - Browse repository at this point
Copy the full SHA e9da740View commit details -
Changing directions a little: user must provide path to directory wit…
…h metadata files
Configuration menu - View commit details
-
Copy full SHA for 31245e1 - Browse repository at this point
Copy the full SHA 31245e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83f733f - Browse repository at this point
Copy the full SHA 83f733fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cb14c9 - Browse repository at this point
Copy the full SHA 6cb14c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ceb853 - Browse repository at this point
Copy the full SHA 0ceb853View commit details -
Need to add call to gather_variable_definitions in order to get new m…
…etadata converted properly (?)
Configuration menu - View commit details
-
Copy full SHA for a332867 - Browse repository at this point
Copy the full SHA a332867View commit details -
Finally got to where I thought I should be! I now have a calling tree…
… of schemes for a given SDF, and a dictionary that associates those schemes with their corresponding .meta files. Last step is to simply parse those .meta files for their variables!
Configuration menu - View commit details
-
Copy full SHA for e64dbe3 - Browse repository at this point
Copy the full SHA e64dbe3View commit details
Commits on Nov 15, 2021
-
Getting close to finished now; using parse_metadata_file to return Me…
…tadataTable objects for each scheme's .meta file; these objects can then be parsed to get all the information we need for the final step!
Configuration menu - View commit details
-
Copy full SHA for 64dad53 - Browse repository at this point
Copy the full SHA 64dad53View commit details -
Find if variable matches in subroutine, if so, output variable name, …
…subroutine name, and intent. If partial match, output list of partial matches
Configuration menu - View commit details
-
Copy full SHA for 67229d2 - Browse repository at this point
Copy the full SHA 67229d2View commit details -
Working prototype complete! The script now takes in an SDF, config fi…
…le, variable name, and directory with metadata files, and outputs a list of schemes that use the given variable, along with their intent. Will convert into a more "graph-like" output later, along with other cleanup that is needed before review/testing by the group.
Configuration menu - View commit details
-
Copy full SHA for 36a23e6 - Browse repository at this point
Copy the full SHA 36a23e6View commit details
Commits on Nov 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5f9e029 - Browse repository at this point
Copy the full SHA 5f9e029View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e03756 - Browse repository at this point
Copy the full SHA 5e03756View commit details -
Add new "--draw" argument and a stub (for now) subroutine that will g…
…ive a graphical representation of the calling tree Also some more cleanup: - Change default logging level to WARNING to get rid of unnecessary log messages (debug level remains unchanged) - Change more strings to f strings - Remove more leftover debug printouts - Raise exception if create_metadata_filename_dict fails (esp for no .meta files found) - Remove check_var function (might re-introduce in the future)
Configuration menu - View commit details
-
Copy full SHA for 8ec769d - Browse repository at this point
Copy the full SHA 8ec769dView commit details
Commits on Nov 18, 2021
-
Convert var_graph from Ordered Dictionary to list of tuples to preser…
…ve duplicate calls
Configuration menu - View commit details
-
Copy full SHA for 6c7cfe9 - Browse repository at this point
Copy the full SHA 6c7cfe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fa53bb - Browse repository at this point
Copy the full SHA 9fa53bbView commit details
Commits on Jan 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3d2f7cd - Browse repository at this point
Copy the full SHA 3d2f7cdView commit details
Commits on Jan 16, 2022
-
Change standard_name and unit of CCPP error flag variable in ccpp_pre…
…build scripts, correct unit for ccpp_constant_one in ccpp_prebuild scripts
Configuration menu - View commit details
-
Copy full SHA for db3b9c1 - Browse repository at this point
Copy the full SHA db3b9c1View commit details
Commits on Jan 17, 2022
-
Merge branch 'feature/capgen' of https://github.com/NCAR/ccpp-framework…
… into ccpp_error_code_in_prebuild
Configuration menu - View commit details
-
Copy full SHA for 96bebbf - Browse repository at this point
Copy the full SHA 96bebbfView commit details
Commits on Jan 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fee2198 - Browse repository at this point
Copy the full SHA fee2198View commit details -
Merge pull request #428 from climbfuji/ccpp_error_code_in_prebuild
ccpp_prebuild: Update CCPP metadata for error flag variable and constant one
Configuration menu - View commit details
-
Copy full SHA for a55457f - Browse repository at this point
Copy the full SHA a55457fView commit details
Commits on Feb 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e58c284 - Browse repository at this point
Copy the full SHA e58c284View commit details -
Configuration menu - View commit details
-
Copy full SHA for 566916d - Browse repository at this point
Copy the full SHA 566916dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d64a0fb - Browse repository at this point
Copy the full SHA d64a0fbView commit details
Commits on Feb 7, 2022
-
Fix problems with ccpp loop counter/max variables not being in list o…
…f required variables
Configuration menu - View commit details
-
Copy full SHA for 503f43d - Browse repository at this point
Copy the full SHA 503f43dView commit details
Commits on Feb 8, 2022
-
Merge branch 'main' of https://github.com/NCAR/ccpp-framework into cc…
…pp_framework_stub_merged_20220202
Configuration menu - View commit details
-
Copy full SHA for 4885561 - Browse repository at this point
Copy the full SHA 4885561View commit details
Commits on Feb 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6c840e2 - Browse repository at this point
Copy the full SHA 6c840e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 302cb1e - Browse repository at this point
Copy the full SHA 302cb1eView commit details
Commits on Feb 24, 2022
-
Fix mkdoc.py for out of source builds, add some more documentation to…
… ccpp_prebuild.py
Configuration menu - View commit details
-
Copy full SHA for bd87694 - Browse repository at this point
Copy the full SHA bd87694View commit details -
Merge remote-tracking branch 'origin/main' into feature/track_variabl…
…es_through_suite
Configuration menu - View commit details
-
Copy full SHA for c2012ba - Browse repository at this point
Copy the full SHA c2012baView commit details -
Explicitly shebang to python3, adopt new environment and logging stru…
…ctures from capgen
Configuration menu - View commit details
-
Copy full SHA for 08c2027 - Browse repository at this point
Copy the full SHA 08c2027View commit details -
Remove unnecessary "success" variables and handle exceptions in the a…
…ppropriate locations
Configuration menu - View commit details
-
Copy full SHA for 566e485 - Browse repository at this point
Copy the full SHA 566e485View commit details -
modify --> use; this script tracks variables that are both intent(in)…
… and intent(inout)
Configuration menu - View commit details
-
Copy full SHA for 9e6b59a - Browse repository at this point
Copy the full SHA 9e6b59aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc6963a - Browse repository at this point
Copy the full SHA bc6963aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1193e44 - Browse repository at this point
Copy the full SHA 1193e44View commit details
Commits on Mar 3, 2022
-
A few more fixes from pylint, remove redundant "action='store_true'" …
…from add_argument calls
Configuration menu - View commit details
-
Copy full SHA for c7cc6e4 - Browse repository at this point
Copy the full SHA c7cc6e4View commit details -
Move parsing of command-line arguments to "parse_arguments" function,…
… remove re-assignment of arguments and just manage them with "args" object
Configuration menu - View commit details
-
Copy full SHA for 12d9078 - Browse repository at this point
Copy the full SHA 12d9078View commit details -
Add a bit more information about call to "gather_variable_definitions…
…" function from ccpp_prebuild
Configuration menu - View commit details
-
Copy full SHA for ee99e7e - Browse repository at this point
Copy the full SHA ee99e7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8654c4 - Browse repository at this point
Copy the full SHA b8654c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f545d7 - Browse repository at this point
Copy the full SHA 5f545d7View commit details
Commits on Mar 11, 2022
-
Merge pull request #438 from climbfuji/feature/fix_mkdoc
Fix metadata2html.py, add some more documentation to ccpp_prebuild.py
Configuration menu - View commit details
-
Copy full SHA for 8577ea3 - Browse repository at this point
Copy the full SHA 8577ea3View commit details
Commits on Mar 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 65eed35 - Browse repository at this point
Copy the full SHA 65eed35View commit details
Commits on Mar 24, 2022
-
Suggestion from Dom: move creation of scheme call tree to "parse" met…
…hod of Suite class with an optional argument to avoid duplicating existing code while not affecting existing calls to parse method.
Configuration menu - View commit details
-
Copy full SHA for c27f06f - Browse repository at this point
Copy the full SHA c27f06fView commit details
Commits on Mar 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3a359da - Browse repository at this point
Copy the full SHA 3a359daView commit details
Commits on Mar 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 301c6fb - Browse repository at this point
Copy the full SHA 301c6fbView commit details
Commits on Apr 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bae5d42 - Browse repository at this point
Copy the full SHA bae5d42View commit details
Commits on Apr 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 79fe851 - Browse repository at this point
Copy the full SHA 79fe851View commit details
Commits on Apr 11, 2022
-
Merge branch 'feature/remove_test_nemsfv3gfs' of https://github.com/c…
…limbfuji/ccpp-framework into feature/remove_ccpp_api
Configuration menu - View commit details
-
Copy full SHA for f8e5956 - Browse repository at this point
Copy the full SHA f8e5956View commit details -
Merge branch 'bugfix/restore_metadata_header_to_html' of https://gith…
…ub.com/climbfuji/ccpp-framework into feature/remove_ccpp_api
Configuration menu - View commit details
-
Copy full SHA for 4393986 - Browse repository at this point
Copy the full SHA 4393986View commit details
Commits on Apr 12, 2022
-
Merge pull request #443 from climbfuji/feature/remove_ccpp_api
Configuration menu - View commit details
-
Copy full SHA for e200083 - Browse repository at this point
Copy the full SHA e200083View commit details
Commits on Apr 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 425cc4f - Browse repository at this point
Copy the full SHA 425cc4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c21306 - Browse repository at this point
Copy the full SHA 5c21306View commit details
Commits on Apr 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3f1dd5b - Browse repository at this point
Copy the full SHA 3f1dd5bView commit details
Commits on Apr 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8663671 - Browse repository at this point
Copy the full SHA 8663671View commit details
Commits on May 3, 2022
-
Merge pull request #449 from climbfuji/feature/release_debug_only
Remove custom "BitForBit" (aka REPRO) mode
Configuration menu - View commit details
-
Copy full SHA for c95101b - Browse repository at this point
Copy the full SHA c95101bView commit details
Commits on May 4, 2022
-
Merge branch 'main' of https://github.com/ncar/ccpp-framework into cc…
…pp_framework_stub_merged_20220202
Configuration menu - View commit details
-
Copy full SHA for 5fe0dc7 - Browse repository at this point
Copy the full SHA 5fe0dc7View commit details
Commits on May 10, 2022
-
Merge remote-tracking branch 'origin/main' into feature/track_variabl…
…es_through_suite
Configuration menu - View commit details
-
Copy full SHA for 948b620 - Browse repository at this point
Copy the full SHA 948b620View commit details
Commits on May 11, 2022
-
Merge pull request #419 from mkavulich/feature/track_variables_throug…
…h_suite Add initial version of ccpp_track_variables.py
Configuration menu - View commit details
-
Copy full SHA for 1968d57 - Browse repository at this point
Copy the full SHA 1968d57View commit details -
Update to track_variables script: Instead of an ordered list of schem…
…es based on the xml file, output a list of schemes broken down by group (since groups can be called in different orders based on the logic in the host model)
Configuration menu - View commit details
-
Copy full SHA for 0778341 - Browse repository at this point
Copy the full SHA 0778341View commit details -
Bug fix: did not account for fact that some meta files contain inform…
…ation for multiple schemes, which led to incorrect duplication of schemes listed in output
Configuration menu - View commit details
-
Copy full SHA for 00c05a1 - Browse repository at this point
Copy the full SHA 00c05a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6212965 - Browse repository at this point
Copy the full SHA 6212965View commit details
Commits on May 20, 2022
-
scripts/mkcap.py: Add capability to specify variable definitions for …
…interface variables with explicit lower bounds
Configuration menu - View commit details
-
Copy full SHA for ad6ddcb - Browse repository at this point
Copy the full SHA ad6ddcbView commit details -
scripts/mkstatic.py: Handle additional dimensions required by parent …
…variables and use explicit lower bounds in variable definitions for interface variables
Configuration menu - View commit details
-
Copy full SHA for f83286f - Browse repository at this point
Copy the full SHA f83286fView commit details -
Merge branch 'main' of https://github.com/NCAR/ccpp-framework into fe…
…ature/iap_dom
Configuration menu - View commit details
-
Copy full SHA for 64f8054 - Browse repository at this point
Copy the full SHA 64f8054View commit details
Commits on May 25, 2022
-
Merge pull request #451 from mkavulich/feature/improve_track_variables
Bug fix and improvement for ccpp_track_variables tool
Configuration menu - View commit details
-
Copy full SHA for 32afb97 - Browse repository at this point
Copy the full SHA 32afb97View commit details
Commits on Jun 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5efe656 - Browse repository at this point
Copy the full SHA 5efe656View commit details
Commits on Jun 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f694a99 - Browse repository at this point
Copy the full SHA f694a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for e107542 - Browse repository at this point
Copy the full SHA e107542View commit details -
Merge pull request #436 from climbfuji/ccpp_framework_stub_merged_202…
…20202 ccpp_prebuild: ccpp stub and various bugfixes
Configuration menu - View commit details
-
Copy full SHA for 167313e - Browse repository at this point
Copy the full SHA 167313eView commit details
Commits on Jun 14, 2022
-
Merge pull request #453 from NCAR/Update-README-to-v6
Update README links for v6
Configuration menu - View commit details
-
Copy full SHA for 9de5b27 - Browse repository at this point
Copy the full SHA 9de5b27View commit details
Commits on Jun 25, 2022
-
Merge branch 'main' of https://github.com/NCAR/ccpp-framework into fe…
…ature/iap_dom
Configuration menu - View commit details
-
Copy full SHA for c3f81f3 - Browse repository at this point
Copy the full SHA c3f81f3View commit details
Commits on Aug 4, 2022
-
Merge pull request #452 from climbfuji/feature/iap_dom
Update ccpp_prebuild to support IAP model
Configuration menu - View commit details
-
Copy full SHA for 4daaa24 - Browse repository at this point
Copy the full SHA 4daaa24View commit details
Commits on Sep 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for acd3b32 - Browse repository at this point
Copy the full SHA acd3b32View commit details
Commits on Oct 11, 2022
-
Merge pull request #455 from mkavulich/limit_cap_names
Limit suite names to 37 characters or less
Configuration menu - View commit details
-
Copy full SHA for d4a0003 - Browse repository at this point
Copy the full SHA d4a0003View commit details
Commits on Nov 23, 2022
-
Update scripts/ccpp_state_machine.py and scripts/state_machine.py to …
…work with Python 3.11: global inline flags in the middle of regular expressions are deprecated since Python 3.6, and no longer supported in Python 3.11
Configuration menu - View commit details
-
Copy full SHA for 24bab13 - Browse repository at this point
Copy the full SHA 24bab13View commit details -
Configuration menu - View commit details
-
Copy full SHA for ada1737 - Browse repository at this point
Copy the full SHA ada1737View commit details
Commits on Jan 6, 2023
-
Merge pull request #456 from climbfuji/bugfix/python311_global_flags
Fix ccpp-framework errors with Python 3.11
Configuration menu - View commit details
-
Copy full SHA for 1b6352f - Browse repository at this point
Copy the full SHA 1b6352fView commit details
Commits on Mar 10, 2023
-
Fix error message for unit conversions involving unit "1" (#462)
* Fix error message for unit conversions involving unit "1" * Add unit tests for function string_to_python_identifier()
Configuration menu - View commit details
-
Copy full SHA for 60295ad - Browse repository at this point
Copy the full SHA 60295adView commit details
Commits on Apr 10, 2023
-
Add more unit tests for routines in common.py (#465)
This PR is a demo to begin adding more unit test coverage to the CCPP-framework. Since a unit test was recently added for the test_string_to_python_identifier function in common.py, I added unit tests for the remaining functions in that file. To run these unit tests, simply navigate to the test/unit_tests directory and run the script (with Python 3.7 or higher): $ python test_common.py ..... ---------------------------------------------------------------------- Ran 5 tests in 0.023s OK Co-authored-by: goldy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 625a456 - Browse repository at this point
Copy the full SHA 625a456View commit details
Commits on Jun 20, 2023
-
Support multiple concurrent instances per MPI task (#463)
In order to have an ensemble of model instances in a JEDI executable, we need for packages the model relies on to be “stateless” – meaning that the data for an instances are not shared between instances. A more comprehensive solution would be to implement physics so that all such data is either passed in via arguments to the package, or allocated as an instance of a class defining the physics. Deferring the larger issue of revisiting CCPP requirements to cover support for concurrent instances, this PR takes a more modest approach. It adds a new "instance" dimension to the types already defined for GFS physics (GFS_control, GFS_data, GFS_interstitial). And it includes some changes that were needed to address first-time initialization latches inside certain packages. One of these, in Thompson MP, declears the heap allocated fields by ccpp instance. The issue here was that only the first instance of Thompson MP was initializing itself. The other guards against trying to allocate data that has already been allocated (e.g. h2ointerp and ozinterp). The extent of packages touched by the PR is only one NRL-used suite that is a subset of all the packages in CCPP.
Configuration menu - View commit details
-
Copy full SHA for 57d268c - Browse repository at this point
Copy the full SHA 57d268cView commit details
Commits on Sep 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 210a936 - Browse repository at this point
Copy the full SHA 210a936View commit details -
Bug fix in ccpp_prebuild: remove harcoded name of ccpp_t variable, us…
…e information from host model
Configuration menu - View commit details
-
Copy full SHA for 992b704 - Browse repository at this point
Copy the full SHA 992b704View commit details -
Bug fix in test/unit_tests/test_common.py: use os.path.abspath for co…
…rrect path to TEST_FILE
Configuration menu - View commit details
-
Copy full SHA for 64ba62b - Browse repository at this point
Copy the full SHA 64ba62bView commit details -
Merge pull request #498 from climbfuji/feature/remove_ccpp_hardcoded_…
…name_and_update_stub (main) ccpp_prebuild: fix hardcoded name of ccpp_t host variable, update CCPP stub, fix capgen unit tests
Configuration menu - View commit details
-
Copy full SHA for 3a8f278 - Browse repository at this point
Copy the full SHA 3a8f278View commit details