@@ -9,89 +9,75 @@ def cache_data():
9
9
"""
10
10
Download GMT remote data files used in PyGMT tests and docs to cache folder.
11
11
"""
12
- # List of datasets to download
12
+ # List of data files to download.
13
13
datasets = [
14
- # Earth relief grids
14
+ # List of GMT remote datasets.
15
+ "@earth_age_01d_g" ,
16
+ "@earth_day_01d_p" ,
17
+ "@earth_faa_01d_g" ,
15
18
"@earth_gebco_01d_g" ,
16
19
"@earth_gebcosi_01d_g" ,
17
20
"@earth_gebcosi_15m_p" ,
18
- "@earth_relief_01d_p" ,
19
- "@earth_relief_01d_g" ,
20
- "@earth_relief_30m_p" ,
21
- "@earth_relief_30m_g" ,
22
- "@earth_relief_10m_p" ,
23
- "@earth_relief_10m_g" ,
24
- "@earth_relief_05m_p" ,
25
- "@earth_relief_05m_g" ,
26
- "@earth_synbath_01d_g" ,
27
- # List of tiles of 03s srtm data.
28
- # Names like @N35E135.earth_relief_03s_g.nc are for internal use only.
29
- # The naming scheme may change. DO NOT USE IT IN YOUR SCRIPTS.
30
- "@N30W120.earth_relief_15s_p.nc" ,
31
- "@N35E135.earth_relief_03s_g.nc" ,
32
- "@N37W120.earth_relief_03s_g.nc" ,
33
- "@N00W090.earth_relief_03m_p.nc" ,
34
- "@N00E135.earth_relief_30s_g.nc" ,
35
- "@N00W010.earth_relief_15s_p.nc" , # Specific grid for 15s test
36
- "@N04W010.earth_relief_03s_g.nc" , # Specific grid for 03s test
37
- # Earth synbath relief grid
38
- "@S15W105.earth_synbath_30s_p.nc" ,
39
- # Earth seafloor age grids
40
- "@earth_age_01d_g" ,
41
- "@N00W030.earth_age_01m_g.nc" , # Specific grid for 01m test
42
- # Earth geoid grids
43
21
"@earth_geoid_01d_g" ,
44
- "@N00W030.earth_geoid_01m_g.nc" , # Specific grid for 01m test
45
- # Earth magnetic anomaly grids
46
22
"@earth_mag_01d_g" ,
47
- "@S30W060.earth_mag_02m_p.nc" , # Specific grid for 02m test
48
23
"@earth_mag4km_01d_g" ,
49
- "@S30W120.earth_mag4km_02m_p.nc" , # Specific grid for 02m test
50
- # Earth mask grid
51
24
"@earth_mask_01d_g" ,
52
- # Earth free-air anomaly grids
53
- "@earth_faa_01d_g" ,
54
- "@N00W030.earth_faa_01m_p.nc" , # Specific grid for 01m test
55
- # Earth vertical gravity gradient grids
25
+ "@earth_relief_01d_g" ,
26
+ "@earth_relief_01d_p" ,
27
+ "@earth_relief_10m_g" ,
28
+ "@earth_relief_10m_p" ,
29
+ "@earth_relief_30m_g" ,
30
+ "@earth_relief_30m_p" ,
31
+ "@earth_relief_05m_g" ,
32
+ "@earth_relief_05m_p" ,
33
+ "@earth_synbath_01d_g" ,
56
34
"@earth_vgg_01d_g" ,
57
- "@N00W030.earth_vgg_01m_p.nc" , # Specific grid for 01m test
58
- # Earth WDMAM grids
59
35
"@earth_wdmam_01d_g" ,
60
- "@S90E000.earth_wdmam_03m_g.nc" , # Specific grid for 03m test
61
- # Earth day/night images
62
- "@earth_day_01d_p" ,
63
- # Mars relief grids
64
36
"@mars_relief_01d_g" ,
65
- "@N00W030.mars_relief_01m_g.nc" , # Specific grid for 01m tes
66
- # Mercury relief grids
67
37
"@mercury_relief_01d_g" ,
68
- "@N00W030.mercury_relief_01m_p.nc" , # Specific grid for 01m test
69
- # Moon relief grids
70
38
"@moon_relief_01d_g" ,
71
- "@N00W030.moon_relief_01m_p.nc" , # Specific grid for 01m test
72
- # Pluto relief grids
73
39
"@pluto_relief_01d_g" ,
74
- "@N00W030.pluto_relief_01m_p.nc" , # Specific grid for 01m test
75
- # Venus relief grids
76
40
"@venus_relief_01d_g" ,
77
- "@N00W030.venus_relief_01m_g.nc" , # Specific grid for 01m test
78
- # Other cache files
79
- "@capitals.gmt" ,
80
- "@circuit.png" ,
81
- "@earth_relief_20m_holes.grd" ,
41
+ # List of tiled remote datasets.
42
+ # Names like @N35E135.earth_relief_03s_g.nc are for internal use only.
43
+ # The naming scheme may change. DO NOT USE IT IN YOUR SCRIPTS.
44
+ "@N00W030.earth_age_01m_g.nc" ,
45
+ "@N00W030.earth_faa_01m_p.nc" ,
46
+ "@N00W030.earth_geoid_01m_g.nc" ,
47
+ "@S30W060.earth_mag_02m_p.nc" ,
48
+ "@S30W120.earth_mag4km_02m_p.nc" ,
49
+ "@N00W090.earth_relief_03m_p.nc" ,
50
+ "@N00E135.earth_relief_30s_g.nc" ,
51
+ "@N00W010.earth_relief_15s_p.nc" ,
52
+ "@N30W120.earth_relief_15s_p.nc" ,
53
+ "@N04W010.earth_relief_03s_g.nc" ,
54
+ "@N35E135.earth_relief_03s_g.nc" ,
55
+ "@N37W120.earth_relief_03s_g.nc" ,
56
+ "@S15W105.earth_synbath_30s_p.nc" ,
57
+ "@N00W030.earth_vgg_01m_p.nc" ,
58
+ "@S90E000.earth_wdmam_03m_g.nc" ,
59
+ "@N00W030.mars_relief_01m_g.nc" ,
60
+ "@N00W030.mercury_relief_01m_p.nc" ,
61
+ "@N00W030.moon_relief_01m_p.nc" ,
62
+ "@N00W030.pluto_relief_01m_p.nc" ,
63
+ "@N00W030.venus_relief_01m_g.nc" ,
64
+ # List of cache files.
82
65
"@EGM96_to_36.txt" ,
83
66
"@MaunaLoa_CO2.txt" ,
84
- "@RidgeTest.shp" ,
85
- "@RidgeTest.shx" ,
86
67
"@RidgeTest.dbf" ,
87
68
"@RidgeTest.prj" ,
69
+ "@RidgeTest.shp" ,
70
+ "@RidgeTest.shx" ,
88
71
"@Table_5_11.txt" ,
89
72
"@Table_5_11_mean.xyz" ,
73
+ "@capitals.gmt" ,
74
+ "@circuit.png" ,
75
+ "@earth_relief_20m_holes.grd" ,
90
76
"@fractures_06.txt" ,
91
77
"@hotspots.txt" ,
92
- "@ridge.txt" ,
93
78
"@mars370d.txt" ,
94
- "@srtm_tiles.nc" , # needed for 03s and 01s relief data
79
+ "@ridge.txt" ,
80
+ "@srtm_tiles.nc" , # Needed for earth relief 03s and 01s data.
95
81
"@static_earth_relief.nc" ,
96
82
"@ternary.txt" ,
97
83
"@test.dat.nc" ,
0 commit comments