GenericMappingTools / pygmt

A Python interface for the Generic Mapping Tools.

Home Page:https://www.pygmt.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reorganize the list of cache files used in CI

seisman opened this issue · comments

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.

👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our contributing guidelines and code of conduct.