Skip to content

Reorganize the list of cache files used in CI #3144

@seisman

Description

@seisman

Many remote files are cached as GitHub Actions assets to be reused in CI workflows. These files are listed in the pygmt/helpers/caching.py file. See below:

datasets = [
# Earth relief grids
"@earth_gebco_01d_g",
"@earth_gebcosi_01d_g",
"@earth_gebcosi_15m_p",
"@earth_relief_01d_p",
"@earth_relief_01d_g",
"@earth_relief_30m_p",

Currently, the list is a little messy. Some potential improvements:

  1. Put some comments (e.g., "Names like @N35E135.earth_relief_03s_g.nc are for internal use only.") at the start of the list.
  2. Remove some comments like "# Specific grid for 15s test"
  3. Update the order of some entries. First categorize files into groups and sort alphabetically in each group.

Helps are welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceBoring but important stuff for the core devs

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions