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

[WIP] Add hillslope scripts (to python/ctsm/) and external, plus docs #2425

Draft
wants to merge 181 commits into
base: b4b-dev
Choose a base branch
from

Commits on Mar 15, 2024

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

Commits on Mar 18, 2024

  1. Configuration menu
    Copy the full SHA
    697559b View commit details
    Browse the repository at this point in the history
  2. synthetic_hillslope: Add basic input arguments.

    * -i/--input-file
    * -o/--output-file
    * --overwrite
    samsrabin committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    e6e3b38 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c9024c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f662e56 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bc9ed36 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5d54aeb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a7515e0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f05fcbc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    66e6045 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    86aa9a3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    60b71b0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e021680 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d4b1bcb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    92e655f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e28e757 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    4a7377c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d87ab72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc47ddd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    db46dce View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ddd2790 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8a2fda7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    65ed60d View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    eb4906d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e57d3f0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92b761c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    077b131 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    37b0718 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Configuration menu
    Copy the full SHA
    51b7b9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c80f08d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f60e61 View commit details
    Browse the repository at this point in the history
  4. Share create_variables code between hillslope scripts.

    Specifically, synthetic_hillslope.py and combine_gridcell_files.py.
    * Canonical way to run these is now from tools/hillslopes/.
    * Changes long_name of two variables in output of combine_gridcell_files.py.
    samsrabin committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    02318dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08b8f7a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fa98b49 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bfceccb View commit details
    Browse the repository at this point in the history
  8. synthetic_hillslope: Use LANDFRAC_PFT instead of PFTDATA_MASK.

    The latter is removed in ctsm5.2.
    samsrabin committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    6530250 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    017a06e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a0784ab View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0982051 View commit details
    Browse the repository at this point in the history
  12. Replace loop_call.py with functionality in combine_gridcell_files.

    Specifying a chunk index now requires the --cndx argument. Multiple chunk indices can be specified as a comma-separated list. Leaving off the --cndx argument will process all chunks. New argument --n-chunks defaults to 36.
    samsrabin committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    fa96067 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2aa15f3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    34c59cd View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f34c261 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    21ca682 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f0d34eb View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    79b0a0d View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    5a54585 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50d298f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a816cf6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0395d1 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Configuration menu
    Copy the full SHA
    2bf1fc6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63c4873 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    65ecbeb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c74d848 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    54e5abb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9a94ab0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dc0add9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f1ce7e6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    27c2567 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    eb03d81 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c931942 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    68b17cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b67d61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75c9ca4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    752a1c7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8f108b8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    060a66d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    589877b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    89e25bd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f27f7de View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Configuration menu
    Copy the full SHA
    712c566 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f92840 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a880ed7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9e8fae1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fee572c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ef103b1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    063a6d9 View commit details
    Browse the repository at this point in the history
  8. combine_chunk_files: Don't use xarray.

    Avoids creating new _FillValue variable attribute.
    samsrabin committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    bc4304c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3a4fe27 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    66eba03 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1958107 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0eb3ad1 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    6218aee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6789c15 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fb53d01 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    d3e9a43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec82aa3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9e05b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c89600c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a3287e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ff58969 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fb2caaf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0fc80f5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0261c18 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7053b29 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    71be2e7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a981e69 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    90e4810 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b4a78e7 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. synthetic_hillslopes: Use HillslopeVars.

    Identical to previous outputs except a long name and a unit.
    samsrabin committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    90e1dfe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5643e3f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc2cd68 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Format with black.

    samsrabin committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    179e2ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8be2c38 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7bd49c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5bbdf89 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    25292b6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7ad47fd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    005b7fa View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    2918296 View commit details
    Browse the repository at this point in the history
  2. combine_gridcell_files: Remove --n-chunks argument.

    If --cndx not given, will automatically detect chunks to process based on filenames in input dir.
    samsrabin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    8fdd12a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f391c75 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0fac7b9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9920c82 View commit details
    Browse the repository at this point in the history
  6. combine_chunk_files: Remove --n-chunks argument.

    If --cndx not given, will automatically detect chunks to process based on filenames in input dir.
    samsrabin committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    04217bc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    39e1841 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c3d1bbc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b868d05 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    737d6dc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9105ca8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    54a93ed View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    3fdea34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f510b4d View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Point doc-builder to my fork. Avoid old fork of sphinx_rtd_theme.

    Based on ESMCI/cime#4613. Builds OK, but I'm not sure if the new versions setup works.
    samsrabin committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    bca4618 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c2361d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    490d229 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a9e1a2 View commit details
    Browse the repository at this point in the history
  5. Resolve "WARNING: unsupported theme option 'versions' given"

    Might break things?
    samsrabin committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    497e991 View commit details
    Browse the repository at this point in the history
  6. Add sphinx_mdinclude.

    samsrabin committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    3511baa View commit details
    Browse the repository at this point in the history
  7. Add ctsm-docs.yml.

    samsrabin committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    dcb2f0f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    94874d2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5f54b61 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    18598eb View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e95c291 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c3788bb View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    674ab46 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a5063f6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a5f4573 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    442f13d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    76c3238 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    03857ff View commit details
    Browse the repository at this point in the history
  19. Delete cleanup job.

    samsrabin committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    dccbcdd View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    868e0d0 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    1fa1eb5 View commit details
    Browse the repository at this point in the history
  22. build_docs will now fail if sphinx warnings are generated.

    Via updating doc-builder external to c51795f; branch update-20241002: Merge branch 'warnings-as-errors' into update-20241002
    samsrabin committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    9d5a455 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ee94753 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Configuration menu
    Copy the full SHA
    a893eb5 View commit details
    Browse the repository at this point in the history
  2. Revert "Only do test-build if the PR branch is from a fork, not ESCOM…

    …P/CTSM."
    
    This reverts commit 1fa1eb5.
    samsrabin committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    dc8dd92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    adb99fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da0a8bd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3575ea4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6fb71bc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8bbdf94 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    eb74874 View commit details
    Browse the repository at this point in the history
  9. Disable "Push new docs."

    samsrabin committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6a3049e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    259ad13 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    afd87b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    71c4386 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76e2c6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d60500 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7c888e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0752bec View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5fed746 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Merge branch 'update-docs-builder-2' into hillslope-scripts-2

    # Conflicts:
    #	.git-blame-ignore-revs
    #	.gitignore
    #	Externals.cfg
    samsrabin committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    490f88f View commit details
    Browse the repository at this point in the history
  2. Point doc-builder at my branch.

    * Treats Sphinx warnings as errors (see also PR at ESMCI/doc-builder#4)
    * Points at my Docker container, which includes Python package needed for mdinclude in .rst files
    samsrabin committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    3a0394c View commit details
    Browse the repository at this point in the history
  3. Point representative-hillslopes submodule at my branch.

    Updated README.
    samsrabin committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    5f8f958 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    46fbfce View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    9ab3e6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4b03f5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb2363a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2c5f3ea View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. Configuration menu
    Copy the full SHA
    96f7ac5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7b9183 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e12bd1e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4bce938 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Configuration menu
    Copy the full SHA
    c6df412 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61122a2 View commit details
    Browse the repository at this point in the history
  3. Exercise a bit more of the CTSM-specific hillslope scripts.

    By renaming some of the test hillslope gridcell files, this tests the scripts' ability to handle (a) multiple gridcells per chunk and (b) missing chunks.
    samsrabin committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    ae15b23 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c7dbb53 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a6af9ac View commit details
    Browse the repository at this point in the history