Skip to content

Commit 0b0c274

Browse files
authored
Add IGRF-14 reference. Remove deprecated IGRF-12 and CHAOS-6 (#119)
1 parent bf1e680 commit 0b0c274

File tree

3 files changed

+9
-36
lines changed

3 files changed

+9
-36
lines changed

docs/release_notes.rst

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Release notes
44
Change log
55
----------
66

7+
Changes from 0.12.0 to 0.12.1
8+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9+
10+
- VirES now uses CHAOS-8 and IGRF-14 magnetic models. These models are referred to as ``"CHAOS"`` and ``"IGRF"`` - older versions are not available.
11+
712
Changes from 0.11.8 to 0.12.0
813
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
914

src/viresclient/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@
3535
from ._config import ClientConfig, set_token
3636
from ._data_handling import ReturnedData, ReturnedDataFile
3737

38-
__version__ = "0.12.1-alpha"
38+
__version__ = "0.12.1"

src/viresclient/_client_swarm.py

+3-35
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,8 @@
4040

4141
MODEL_REFERENCES = {
4242
"IGRF": (
43-
" International Geomagnetic Reference Field: the thirteenth generation, (https://doi.org/10.1186/s40623-020-01288-x) ",
44-
" https://www.ngdc.noaa.gov/IAGA/vmod/igrf.html ",
45-
),
46-
"IGRF12": (
47-
" International Geomagnetic Reference Field: the 12th generation, https://doi.org/10.1186/s40623-015-0228-9 ",
48-
" https://www.ngdc.noaa.gov/IAGA/vmod/igrf.html "
49-
" deprecated model identifier, use IGRF instead",
43+
" International Geomagnetic Reference Field 14 (https://doi.org/10.5281/zenodo.14012302) ",
44+
" https://www.ncei.noaa.gov/products/international-geomagnetic-reference-field ",
5045
),
5146
"CHAOS-Core": (
5247
"CHAOS-8 Core field (SH degrees 1-20)",
@@ -64,22 +59,6 @@
6459
"CHAOS-8 Secondary (internal) magnetospheric field",
6560
" http://www.spacecenter.dk/files/magnetic-models/CHAOS-8/ ",
6661
),
67-
"CHAOS-6-Core": (
68-
"CHAOS Core field",
69-
" deprecated model identifier, use CHAOS-Core instead",
70-
),
71-
"CHAOS-6-Static": (
72-
"CHAOS crust field",
73-
" deprecated model identifier, use CHAOS-Static instead",
74-
),
75-
"CHAOS-6-MMA-Primary": (
76-
"CHAOS Primary (external) magnetospheric field",
77-
" deprecated model identifier, use CHAOS-MMA-Primary instead",
78-
),
79-
"CHAOS-6-MMA-Secondary": (
80-
"CHAOS-Secondary (internal) magnetospheric field",
81-
" deprecated model identifier, use CHAOS-MMA-Secondary instead",
82-
),
8362
"MF7": (
8463
"MF7 crustal field model, derived from CHAMP satellite observations",
8564
" http://geomag.org/models/MF7.html",
@@ -158,13 +137,7 @@
158137
),
159138
}
160139

161-
DEPRECATED_MODELS = {
162-
"IGRF12": "Use IGRF instead.",
163-
"CHAOS-6-Core": "Use CHAOS-Core instead.",
164-
"CHAOS-6-Static": "Use CHAOS-Static instead.",
165-
"CHAOS-6-MMA-Primary": "Use CHAOS-MMA-Primary instead.",
166-
"CHAOS-6-MMA-Secondary": "Use CHAOS-MMA-Secondary instead.",
167-
}
140+
DEPRECATED_MODELS = {}
168141

169142
COLLECTION_REFERENCES = {
170143
"MAG": (
@@ -1341,17 +1314,12 @@ class SwarmRequest(ClientRequest):
13411314

13421315
MAGNETIC_MODELS = [
13431316
"IGRF",
1344-
"IGRF12",
13451317
"LCS-1",
13461318
"MF7",
13471319
"CHAOS-Core",
13481320
"CHAOS-Static",
13491321
"CHAOS-MMA-Primary",
13501322
"CHAOS-MMA-Secondary",
1351-
"CHAOS-6-Core",
1352-
"CHAOS-6-Static",
1353-
"CHAOS-6-MMA-Primary",
1354-
"CHAOS-6-MMA-Secondary",
13551323
"MCO_SHA_2C",
13561324
"MCO_SHA_2D",
13571325
"MLI_SHA_2C",

0 commit comments

Comments
 (0)