Skip to content
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

compass python package (compass v1.0) #28

Merged
merged 306 commits into from
Apr 23, 2021
Merged
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 14, 2021

  1. Fix many PEP8 issues

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    31ca8ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68af7b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc5a9c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dad90fa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    75983ba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9fbb549 View commit details
    Browse the repository at this point in the history
  7. Add global_ocean initial_state testcase

    So far, only the QU240 mesh is supported.
    
    Also, add `scipy` as a dependency.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    d7a5e0d View commit details
    Browse the repository at this point in the history
  8. Split init into mesh and initial_state

    This will allow us to initializes later with other initial
    conditions.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    23750eb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    efb5280 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5d06842 View commit details
    Browse the repository at this point in the history
  11. Switch to logging with a context manager

    For these changes, the logging module has been moved to mpas_tools
    so the same context manager can be used there, along with the
    check_call command that suports logging.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    2d06274 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c97df0f View commit details
    Browse the repository at this point in the history
  13. Add testcase subdir to steps

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    61fe19d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    fe74aed View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ac9646a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9c0b0f4 View commit details
    Browse the repository at this point in the history
  17. Add global ocean restart tests

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    96f7f06 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a8d326b View commit details
    Browse the repository at this point in the history
  19. Modify validation to handle repeats of a dimension

    The fix is to rename one of the repeats.  Otherwise, xarray is
    pretty unhappy.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    0d11052 View commit details
    Browse the repository at this point in the history
  20. Add global ocean analysis test

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    44ce836 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    bf38666 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    217b202 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    53e274f View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    8253d92 View commit details
    Browse the repository at this point in the history
  25. Major reorg of global ocean test case

    The reorganization:
    * adds support for QU240wISC (and other meshes with ice-shelf
      cavities)
    * separates mesh and init test cases
    * adds support for 4 initial conditions:
      * PHC
      * PHC with BGC
      * EN4_1900
      * EN4_1900 with BGC
    * Adds a subdirectory for the initial condition.  Each testcase
      other than mesh is within this subdirectory
    * Added the full matrix of QU240 test cases (maybe overkill?):
      * with and without ice-shelf cavities
      * PHC and EN4_1900
      * with and without BGC
      * split_explicit and RK4
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    0dae4c5 View commit details
    Browse the repository at this point in the history
  26. Update nightly and add qu240wisc test suite

    The new test suite has the same tests as the QU240 in nightly
    suite, but for the QU240wISC mesh instead.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    e259794 View commit details
    Browse the repository at this point in the history
  27. Change the way steps run on their own

    The key ``steps_to_run`` has been added to the ``testcase`` dict
    and individual steps run the same way as the whole testcase except
    that there is only one step in ``steps_to_run`` and logging is
    handled slightly differently.
    
    This means that config options related to the requested number of
    cores, minimum cores, threads, etc. can be parsed at the testcase
    level, then the number of cores to run with can be determined
    in ``run_steps`` before running individual steps.
    
    Testcases that run all steps in the order they are added can just
    leave ``steps_to_run`` with its default value.  If there are some
    optional steps that should be excluded, the testcase will need
    to replace the default list with an appropriate list of steps.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    b8a3a70 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    1eca43a View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    6d51c55 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    3252801 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    f39994a View commit details
    Browse the repository at this point in the history
  32. Update global ocean testcases and steps following reorg

    This also includes adding config options related to mesh
    provenance that will eventually be included in all NetCDF output.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    45dd43a View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    21aa591 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    2343d7a View commit details
    Browse the repository at this point in the history
  35. Add metadata to output files

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    44f6d34 View commit details
    Browse the repository at this point in the history
  36. Fix name of QUwISC240 test suite

    Both the suite name and the tests within it need to be updated.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    2cb4b75 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    e1a7c94 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    ea734d7 View commit details
    Browse the repository at this point in the history
  39. Add restart files as inputs/outputs for restart test

    Also, add support for namelist and streams replacement dicts.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    5220844 View commit details
    Browse the repository at this point in the history
  40. Add spinup testcases

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    1f5eb3a View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    bff6a18 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    c87615d View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    2d37460 View commit details
    Browse the repository at this point in the history
  44. Add testcase only once to suite

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    16005b6 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    a37e7fa View commit details
    Browse the repository at this point in the history
  46. Add first draft of files for E3SM testcase

    The files for diagnostics are missing because some work is
    needed in MPAS-Tools to support this step.
    
    Also add a suite for testing QU240 and QUwISC240 spin-up and
    files for E3SM.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    bac8113 View commit details
    Browse the repository at this point in the history
  47. Update version of mpas_tools in the recipe

    This merge also adds git as a dependency.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    cfc32e1 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    7b30bde View commit details
    Browse the repository at this point in the history
  49. Update anvil and add chrysalis

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    0d61a3b View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    095e157 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    0a820ec View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    9b1ba50 View commit details
    Browse the repository at this point in the history
  53. Fix logging of test suites

    Individual steps were being logged to their own log files but are
    now written to the same log file within case_output for the whole
    test case.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    3b1ea08 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    79e179a View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    f079617 View commit details
    Browse the repository at this point in the history
  56. Make separate namelists for PHC and EN4_1900 tracers

    They have different depth conversions and could, in theory, have
    different variable names, dimensions, etc.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    bf31da6 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    3646435 View commit details
    Browse the repository at this point in the history
  58. Remove unused import

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    b6a029f View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    195a14e View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    6b5263d View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    3327593 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    27cfc4e View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    ea8a2db View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    87c04f8 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    3051b40 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    d4e5eea View commit details
    Browse the repository at this point in the history
  67. Add an example ocean config file

    It has some common config options that users might want
    to change.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    44a7a34 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    8bfbc82 View commit details
    Browse the repository at this point in the history
  69. Add timing to suite output

    Fix some other output and logging issues.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    2792c2c View commit details
    Browse the repository at this point in the history
  70. Compute the target and min cores for suites

    This requires setting the target and min cores in setup() for several
    types of steps in global_ocean that were only setting these values
    in the test case's run()
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    271c9a3 View commit details
    Browse the repository at this point in the history
  71. Add commandline flag --mpas_model

    This overrides the config option `mpas_model` in `[paths]` for
    convenience of setting the MPAS-Model directory
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    823e95e View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    62917c6 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    73c8919 View commit details
    Browse the repository at this point in the history
  74. Add prog argument to argparse

    This improves the formatting of the help display.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    5f0e989 View commit details
    Browse the repository at this point in the history
  75. Improve function for listing test suites

    Add a comment that new cores need to be added.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    7505760 View commit details
    Browse the repository at this point in the history
  76. Fix or add some docstrings

    provenance.write was missing a docstring.
    
    cull_mesh had a mis-formatted list.
    
    config.get_source_file had an incorrectly formatted :ref: tag
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    70d2a54 View commit details
    Browse the repository at this point in the history
  77. Fix PEP8

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    1f73c5a View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    5019412 View commit details
    Browse the repository at this point in the history
  79. Fix typo in example test cases

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    c0bb06e View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    136ea41 View commit details
    Browse the repository at this point in the history
  81. Update setup.py to include package_data files

    Also, improve how the compass package is found (with "include",
    not "exclude").
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    a96d68e View commit details
    Browse the repository at this point in the history
  82. Update Azure Pipelines

    Build the docs after the compass package, since this will be needed
    for the autogenerated API.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    c7693a8 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    495851b View commit details
    Browse the repository at this point in the history
  84. Rewrite run_model to take the step dict and do more

    Since we almost always want to:
    * update PIO
    * make a graph partiton
    * run the model
    these first two are now an optional part of running the model.
    By having run_model take `step`, we can get information like the
    number of cores, threads and work dir. from there.
    
    To make this easier, the core and configration were added to `step`
    while setting up `testcase` defaults.  There could be a little
    confusion between "core" and "cores" (and "configuration" and
    "config file" for that matter) but this is hard to avoid.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    4dfca2b View commit details
    Browse the repository at this point in the history
  85. Rework namelsits and streams generation

    The option has been added to pass a list of tuples of replacement
    files and their modules so some of the tedium of updating
    namelists and streams can be handled internally.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    2b5c6d5 View commit details
    Browse the repository at this point in the history
  86. Change the way step inputs and outputs are handled

    This includes modifications to how databases and downloads are
    handled, requiring updates so many config files.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    ddc9ad9 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    b73ade9 View commit details
    Browse the repository at this point in the history
  88. Rework collecting test cases and steps

    The API is now quite different.  The `collect()` functions for
    each test case and step now require fixed arguments.  There is
    no need to call `setup_testcase_default` and `setup_step_default`
    so these have been hidden.  Instead, the framework calls
    `collect()`.  Configurations should add test cases with `add_testcase`
    and test cases should add steps with `add_step`.  If a test case
    changes its subdirectory in `collect()`, it should call
    `set_testcase_subdir` to update both `subdir` and `path`.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    e1f291c View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    bc59f35 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    e0dc3d4 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    9094fdd View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    c95d36f View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    c8f68b1 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    93290a7 View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    cae3c45 View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    e6e168f View commit details
    Browse the repository at this point in the history
  97. Update examples with new framework API

    Add a test suite with all examples
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    c6e68af View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    3073616 View commit details
    Browse the repository at this point in the history
  99. Only partition for cores > 1

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    6cfa7e9 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    35f1caf View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    8ee7a88 View commit details
    Browse the repository at this point in the history
  102. Fix global ocean SSH adjustment

    There were problems with a nonexistant mixed-layer depth output stream.
    The stream now exists but doesn't write anything.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    f944619 View commit details
    Browse the repository at this point in the history
  103. Add diagnostics file to the files_for_e3sm test

    This requires a new version of geometric_features (0.3.0).
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    0f7c6d8 View commit details
    Browse the repository at this point in the history
  104. Improve test suite output message

    Give the number of tests that failed.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    541dd92 View commit details
    Browse the repository at this point in the history
  105. Rarrange global ocean subdirs; reduce number of tests

    Rearrange the directory structure so there are fewer subdirectories
    for split_explict tests and better organization for RK4 tests.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    cdeabc8 View commit details
    Browse the repository at this point in the history
  106. Fix bug in particle remapping

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    4776e39 View commit details
    Browse the repository at this point in the history
  107. Fix vertical interface data files

    The 42layerWOCE and 60layerPHC interfaces were incorrect -- they
    were layer midpoints.
    
    The 60layerPHC has been corrected using the binary data before
    rounding to compute interface locations such that their averages
    reproduce the midpoints.
    
    I was not able to find the bindary 42layerWOCE data.  As this
    veritcal grid is not used, I am simply removing it.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    f359448 View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    d75077f View commit details
    Browse the repository at this point in the history
  109. Add so12to60 mesh

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    04db5a7 View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    de69fbd View commit details
    Browse the repository at this point in the history
  111. Configuration menu
    Copy the full SHA
    7030fd3 View commit details
    Browse the repository at this point in the history
  112. Add eismint2 configuration

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    1fc3100 View commit details
    Browse the repository at this point in the history
  113. Add eismint2 decomposition test

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    02e9c52 View commit details
    Browse the repository at this point in the history
  114. add eismint2 restart test

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    023c410 View commit details
    Browse the repository at this point in the history
  115. Add eismint2 enthalpy tests

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    5877902 View commit details
    Browse the repository at this point in the history
  116. Add eismint2 tests to sia suite

    Remove tests from SIA stuite that aren't in the legacy version
    of the suite.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    afaf322 View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    f96852a View commit details
    Browse the repository at this point in the history
  118. Fix namelist options --> config options

    This affects nearly all config files at the configuration level
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    7029c80 View commit details
    Browse the repository at this point in the history
  119. Add greenland configuration

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    8d0efca View commit details
    Browse the repository at this point in the history
  120. Add hydro_radial configuration

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    e787cdd View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    49c0f15 View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    782ebcc View commit details
    Browse the repository at this point in the history
  123. Configuration menu
    Copy the full SHA
    1709a19 View commit details
    Browse the repository at this point in the history
  124. Set up example_configs directory

    Move example_ocean.cfg to example_configs/ocean.cfg
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    e91aba8 View commit details
    Browse the repository at this point in the history
  125. Tighten up test suite screen output

    mark-petersen authored and xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    bb6d679 View commit details
    Browse the repository at this point in the history
  126. Configuration menu
    Copy the full SHA
    584114e View commit details
    Browse the repository at this point in the history
  127. Fix string formatting

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    00fe00c View commit details
    Browse the repository at this point in the history
  128. A few small bits of clean-up

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    6ef58fd View commit details
    Browse the repository at this point in the history
  129. Alphabetize requirements

    Add missing pyamg
    
    Add more to setup.py
    
    Add pip check
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    14037d8 View commit details
    Browse the repository at this point in the history
  130. Update jigsaw and jigsawpy

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    4c57aa9 View commit details
    Browse the repository at this point in the history
  131. Disable pip check for now

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    d4a1a32 View commit details
    Browse the repository at this point in the history
  132. Turn on pip check

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    2b06eab View commit details
    Browse the repository at this point in the history
  133. Update ocean/develop submodule

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    fff364c View commit details
    Browse the repository at this point in the history
  134. Update 3 namelist options that have been renamed

    Three namelist options have new names to accommodate partial
    top cells.  The new names are:
    config_init_vertical_grid_type
    config_alter_ICs_for_pcs
    config_pc_alteration_type
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    0728d9c View commit details
    Browse the repository at this point in the history
  135. Limit cores to cores_per_node for single_node machines

    Without this, users don't have a way of telling compass to use
    less than the whole machine.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    d277431 View commit details
    Browse the repository at this point in the history
  136. Configuration menu
    Copy the full SHA
    76ddee8 View commit details
    Browse the repository at this point in the history
  137. Add a class MpasCore

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    283593a View commit details
    Browse the repository at this point in the history
  138. Add a class TestGroup

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    c473227 View commit details
    Browse the repository at this point in the history
  139. Add a class TestCase

    Make most functions from the testcase module into methods of
    ``TestCase``.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    a9c3471 View commit details
    Browse the repository at this point in the history
  140. Add a class Step and a step package

    Move the template for step run scripts to the `step` package.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    2689021 View commit details
    Browse the repository at this point in the history
  141. Import the new classes directly in compass

    This makes them easier to refer to in docstrings
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    1d96c75 View commit details
    Browse the repository at this point in the history
  142. Configuration menu
    Copy the full SHA
    2065ed5 View commit details
    Browse the repository at this point in the history
  143. Remove testcases module

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    a6d674a View commit details
    Browse the repository at this point in the history
  144. Move add_model_as_input to Step

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    dc27f0c View commit details
    Browse the repository at this point in the history
  145. Configuration menu
    Copy the full SHA
    213e875 View commit details
    Browse the repository at this point in the history
  146. Configuration menu
    Copy the full SHA
    2de4596 View commit details
    Browse the repository at this point in the history
  147. Configuration menu
    Copy the full SHA
    905be4f View commit details
    Browse the repository at this point in the history
  148. Update setup for new classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    41fc33b View commit details
    Browse the repository at this point in the history
  149. Update clean for new classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    467ec60 View commit details
    Browse the repository at this point in the history
  150. Update suite for new classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    5681d45 View commit details
    Browse the repository at this point in the history
  151. Simplify import in __main__.py

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    99f794c View commit details
    Browse the repository at this point in the history
  152. Move namelists and streams gen into Step

    Code for adding and generating namelists and streams files has
    been moved into the Step class, since is relies heavily on the
    step's attributes.
    
    The function for processing input files has also been made
    non-public and is called as part of generate(), not externally
    in the setup module.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    8e69cbc View commit details
    Browse the repository at this point in the history
  153. Update model for new classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    6fbc5e7 View commit details
    Browse the repository at this point in the history
  154. Include parent in base class constructors

    This is needed so steps know their MPAS core at construction and
    can use that information to name namelist and streams files.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    e8b2e51 View commit details
    Browse the repository at this point in the history
  155. Configuration menu
    Copy the full SHA
    5e19459 View commit details
    Browse the repository at this point in the history
  156. Make subdirs the keys for test case dicts

    The name of the test case isn't always unique so it is necessary
    to use a unique key like subdir (or path)
    
    With this merge, only the values of the test_cases and steps dicts
    are used in the framework but the dict datastructure ensures that
    each test case has a unique subdirectory
    
    Steps remain indexed by name becasue this is useful for finding
    a specific step in a test case by name.  This requires that each
    step have a unique name (for now, the same as the subdir).
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    13db2b7 View commit details
    Browse the repository at this point in the history
  157. Add work_dir_target for input files

    This makes it easier to link to files in other test cases without
    having to know the relative path between them.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    8713615 View commit details
    Browse the repository at this point in the history
  158. Configuration menu
    Copy the full SHA
    d21fbc3 View commit details
    Browse the repository at this point in the history
  159. Configuration menu
    Copy the full SHA
    e8b2622 View commit details
    Browse the repository at this point in the history
  160. Update ziso with classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    c7f4890 View commit details
    Browse the repository at this point in the history
  161. Convert global_ocean to classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    4664095 View commit details
    Browse the repository at this point in the history
  162. Configuration menu
    Copy the full SHA
    7ae28d8 View commit details
    Browse the repository at this point in the history
  163. Update ocean suites for dynamic adjustment

    Spinup has been renamed to dynamic_adjustment and suites need to
    be updated accordingly.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    c67d60f View commit details
    Browse the repository at this point in the history
  164. Convert dome to classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    5061a95 View commit details
    Browse the repository at this point in the history
  165. Convert eismint2 to classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    1eb621b View commit details
    Browse the repository at this point in the history
  166. Configuration menu
    Copy the full SHA
    d9c3526 View commit details
    Browse the repository at this point in the history
  167. Convert greenland to classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    de6e951 View commit details
    Browse the repository at this point in the history
  168. Convert hydro_radial to classes

    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    085464d View commit details
    Browse the repository at this point in the history
  169. Configuration menu
    Copy the full SHA
    1022dc7 View commit details
    Browse the repository at this point in the history
  170. Remove examples core

    It hasn't proven to be very useful, compared with "real" examples
    for MPAS cores.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    ab5b2b4 View commit details
    Browse the repository at this point in the history
  171. Switch to explicitly adding steps, cases, groups

    The code is a little more verbose but more intuitive this way.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    bfcee4b View commit details
    Browse the repository at this point in the history
  172. Configuration menu
    Copy the full SHA
    4a6f840 View commit details
    Browse the repository at this point in the history
  173. Improve docstrings for generate methods

    The docstring for Step.generate and TestCase.generate was not
    very clear, so they have been made more verbose.
    xylar committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    f434c06 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2021

  1. Configuration menu
    Copy the full SHA
    e39be09 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2021

  1. Configuration menu
    Copy the full SHA
    14fabda View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2021

  1. Update step docstrings

    They incorrectly referred to the old step dictionaries
    xylar committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    254ee28 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Configuration menu
    Copy the full SHA
    d2baca5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c440018 View commit details
    Browse the repository at this point in the history
  3. Update reference names in legacy docs

    Add a `legacy_` prefix to all so they don't clash with new
    documentation as it is added.
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    83e9d9b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d76622b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dc30465 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ba70fb2 View commit details
    Browse the repository at this point in the history
  7. Remove legacy index

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    4bdafd7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    186421d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f932a2f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    340a7bb View commit details
    Browse the repository at this point in the history
  11. Add ref for the compass repo

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    3ed6e46 View commit details
    Browse the repository at this point in the history
  12. Update COMPASS --> compass in conf.py

    Also update some authors and the year for the copyright.
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    2686117 View commit details
    Browse the repository at this point in the history
  13. Add baroclinic_channel config

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    0d4acc8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    96aade6 View commit details
    Browse the repository at this point in the history
  15. Small tweaks to ocean configs

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    de0feb3 View commit details
    Browse the repository at this point in the history
  16. More COMPASS --> compass

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    0b9a105 View commit details
    Browse the repository at this point in the history
  17. Add ice_shelf_2d config

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    c932dbc View commit details
    Browse the repository at this point in the history
  18. Add ziso config

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    0565fd9 View commit details
    Browse the repository at this point in the history
  19. Remove unused _static setup

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    14a1742 View commit details
    Browse the repository at this point in the history
  20. Put cores into user's guide

    Otherwise, it will be hard ot add the same structure later for
    the developer's guide.
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    775e273 View commit details
    Browse the repository at this point in the history
  21. Add global_ocean config

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    e832259 View commit details
    Browse the repository at this point in the history
  22. Add docs on ice-shelf framework

    Update ice_shelf_2d and global_ocean accordingly
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    3a178a8 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    14100a6 View commit details
    Browse the repository at this point in the history
  24. Add docs for ocean test suites

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    a1de732 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    f8b82bc View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    ec91176 View commit details
    Browse the repository at this point in the history
  27. Add stub for compy

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    c5079d6 View commit details
    Browse the repository at this point in the history
  28. Add cori

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    770bdfa View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    01e1be1 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    b48c477 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    62f0850 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    ab031a5 View commit details
    Browse the repository at this point in the history
  33. Add API to developer's guide

    Add instructions on building the package and then the docs.
    
    Update the sphinx config to use the compass version from the
    package.  Add the developer's guide to the main TOC.
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    33aa46b View commit details
    Browse the repository at this point in the history
  34. Reorganize the API cores

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    bccdc71 View commit details
    Browse the repository at this point in the history
  35. Update user's and developer's guides

    Add an overview to developer's guide; add some hooks from the
    user's guide
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    66c68df View commit details
    Browse the repository at this point in the history
  36. Ignore "generated" directories

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    486962b View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    b816e4b View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    4049cc6 View commit details
    Browse the repository at this point in the history
  39. Add versions

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    7b46dd9 View commit details
    Browse the repository at this point in the history
  40. Add example core to docs

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    20e3945 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    cb90fd7 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    b0baa14 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    d7f47a6 View commit details
    Browse the repository at this point in the history
  44. Update developer's guide overview and cores...

    following recent framework changes
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    7199ea7 View commit details
    Browse the repository at this point in the history
  45. Update examples core in developer's guide...

    following recent framework changes.
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    4a0f953 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    b47b5f8 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    02ff318 View commit details
    Browse the repository at this point in the history
  48. Add docs to developer's guide

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    0e6420c View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    701eecf View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    20a1f0c View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    2127cf8 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    e0ef163 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    37dfb93 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    e7917da View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    2e352ac View commit details
    Browse the repository at this point in the history
  56. Add ziso to developer's guide

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    4c825e7 View commit details
    Browse the repository at this point in the history
  57. Remove 42layerWOCE grid from user's guide

    Correct documentation of 60layerPHC grid
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    6606781 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    e5c7c21 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    2e874e1 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    c97bee0 View commit details
    Browse the repository at this point in the history
  61. Clarify use of config file

    mark-petersen authored and xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    a09ed01 View commit details
    Browse the repository at this point in the history
  62. Rename files to be same as TOC

    mark-petersen authored and xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    2e60799 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    0b68400 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    a5ee223 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    696ac31 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    23fa98e View commit details
    Browse the repository at this point in the history
  67. Update required dev environment

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    153ea11 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    33ecec5 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    49ba716 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    079d087 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    f648e1a View commit details
    Browse the repository at this point in the history
  72. Update User's Guide and Test Groups

    This merge includes a large number of updates to the User's Guide
    following recent moves to classes and a new naming convention.
    Machine usage has also been updated to be consistent with recent
    testing with E3SM modules.
    
    The Developer's Guide has also been updated with the change
    from "configuration" to "test group".
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    b0ef186 View commit details
    Browse the repository at this point in the history
  73. Add run_* functions to the API.

    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    1018607 View commit details
    Browse the repository at this point in the history
  74. Update developer's guide for classes and other changes

    Add a glossary.
    xylar committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    37dfc6e View commit details
    Browse the repository at this point in the history