Skip to content

Commit e35710c

Browse files
authored
Merge pull request #88 from ESA-VirES/staging
Merge staging to master: v0.11.0 release for VirES for Swarm v3.10.0
2 parents 72e6028 + b4c3707 commit e35710c

18 files changed

+534
-162
lines changed

README.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
:target: http://viresclient.readthedocs.io/
77
:alt: Documentation Status
88

9-
.. image:: https://requires.io/github/ESA-VirES/VirES-Python-Client/requirements.svg?branch=master
10-
:target: https://requires.io/github/ESA-VirES/VirES-Python-Client/requirements/?branch=master
11-
:alt: Requirements Status
12-
139
.. image:: https://zenodo.org/badge/138034133.svg
1410
:target: https://zenodo.org/badge/latestdoi/138034133
1511

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SwarmRequest
99
:undoc-members:
1010
:show-inheritance:
1111
:inherited-members:
12-
:exclude-members: AUXILIARY_VARIABLES, COLLECTIONS, COLLECTION_SAMPLING_STEPS, MAGNETIC_MODELS, MAGNETIC_MODEL_VARIABLES, OBS_COLLECTIONS, PRODUCT_VARIABLES
12+
:exclude-members: AUXILIARY_VARIABLES, COLLECTIONS, COLLECTION_SAMPLING_STEPS, MAGNETIC_MODELS, MAGNETIC_MODEL_VARIABLES, OBS_COLLECTIONS, PRODUCT_VARIABLES, CONJUNCTION_MISSION_SPACECRAFT_PAIRS, MISSION_SPACECRAFTS
1313

1414
AeolusRequest
1515
-------------

docs/available_parameters.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Available parameters for Swarm
22
==============================
33

4+
.. tip::
5+
6+
Did you know? The *VirES for Swarm* service provides data not only from Swarm but also INTERMAGNET ground observatories (search below for ``AUX_OBS``), and recalibrated platform magnetometer data from selected LEO missions (search below for ``MAG_``).
7+
48
.. note::
59

610
| `See also: Jupyter notebook about data and model availability <https://notebooks.vires.services/notebooks/02b__viresclient-available-data>`_ - check out the other demo notebooks there too.
@@ -43,6 +47,7 @@ SW_OPER_EFIx_LP_1B EFI Electric field instrument (Langmuir pr
4347
SW_OPER_EFIxTIE_2\_ EFI_TIE Estimates of the ion temperatures
4448
SW_EXPT_EFIx_TCT02 EFI_TCT02 2Hz cross-track ion flows
4549
SW_EXPT_EFIx_TCT16 EFI_TCT16 16Hz cross-track ion flows
50+
SW_PREL_EFIxIDM_2\_ EFI_IDM 2Hz ion drift velocities and effective masses (SLIDEM project)
4651
SW_OPER_IPDxIRR_2F IPD Ionospheric plasma characteristics (derived quantities at 1Hz)
4752
SW_OPER_TECxTMS_2F TEC Total electron content
4853
SW_OPER_FACxTMS_2F FAC Field-aligned currents (single satellite)
@@ -113,15 +118,16 @@ SW_OPER_VOBS_1M_2\_:SecularVariation VOBS_SW_1M:SecularVariation Secular variati
113118

114119
Each VOBS product (e.g. Swarm 1-monthly) is split into two collections (e.g. ``SW_OPER_VOBS_1M_2_`` (containing ``B_OB`` & ``B_CF``) and ``SW_OPER_VOBS_1M_2_:SecularVariation`` (containing ``B_SV``)) because of the different temporal sampling points (i.e. differing ``Timestamp``) of these measurements. Data can also be requested for a specific virtual observatory alone (distinguishable by the ``SiteCode`` variable) with special collection names like ``SW_OPER_VOBS_1M_2_:N65W051`` and ``SW_OPER_VOBS_1M_2_:SecularVariation:N65W051``.
115120

116-
Calibrated magnetic data are also available from external missions: Cryosat-2, GRACE (A+B), GRACE-FO (1+2):
121+
Calibrated magnetic data are also available from external missions: Cryosat-2, GRACE (A+B), GRACE-FO (1+2), GOCE:
117122

118-
=============================== ================ =========================================================================================================
123+
=============================== ================ ===================================================================================================================================
119124
Collection full name Collection type Available measurement names
120-
=============================== ================ =========================================================================================================
125+
=============================== ================ ===================================================================================================================================
121126
CS_OPER_MAG MAG_CS ``F,B_NEC,B_mod_NEC,B_NEC1,B_NEC2,B_NEC3,B_FGM1,B_FGM2,B_FGM3,q_NEC_CRF,q_error``
122127
GRACE_x_MAG (x=A/B) MAG_GRACE ``F,B_NEC,B_NEC_raw,B_FGM,B_mod_NEC,q_NEC_CRF,q_error``
123-
GFx_OPER_FGM_ACAL_CORR (x=1/2) MAG_GFO ``B_NEC,B_FGM,dB_MTQ_FGM,dB_XI_FGM,dB_NY_FGM,dB_BT_FGM,dB_ST_FGM,dB_SA_FGM,dB_BAT_FGM,q_NEC_FGM,B_FLAG``
124-
=============================== ================ =========================================================================================================
128+
GFx_OPER_FGM_ACAL_CORR (x=1/2) MAG_GFO ``F,B_NEC,B_FGM,dB_MTQ_FGM,dB_XI_FGM,dB_NY_FGM,dB_BT_FGM,dB_ST_FGM,dB_SA_FGM,dB_BAT_FGM,q_NEC_FGM,B_FLAG``
129+
GO_MAG_ACAL_CORR MAG_GOCE ``F,B_MAG,B_NEC,dB_MTQ_SC,dB_XI_SC,dB_NY_SC,dB_BT_SC,dB_ST_SC,dB_SA_SC,dB_BAT_SC,dB_HK_SC,dB_BLOCK_CORR,q_SC_NEC,q_MAG_SC,B_FLAG``
130+
=============================== ================ ===================================================================================================================================
125131

126132
The ``measurements``, ``models``, and ``auxiliaries`` chosen will match the cadence of the ``collection`` chosen.
127133

@@ -140,6 +146,7 @@ MAG_HR ``F,B_VFM,B_NEC,dB_Sun,dB_AOCS,dB_other,B_error,q_NEC_CRF,Att_er
140146
EFI ``U_orbit,Ne,Ne_error,Te,Te_error,Vs,Vs_error,Flags_LP,Flags_Ne,Flags_Te,Flags_Vs``
141147
EFI_TIE ``Latitude_GD,Longitude_GD,Height_GD,Radius_GC,Latitude_QD,MLT_QD,Tn_msis,Te_adj_LP,Ti_meas_drift,Ti_model_drift,Flag_ti_meas,Flag_ti_model``
142148
EFI_TCTyy ``VsatC,VsatE,VsatN,Bx,By,Bz,Ehx,Ehy,Ehz,Evx,Evy,Evz,Vicrx,Vicry,Vicrz,Vixv,Vixh,Viy,Viz,Vixv_error,Vixh_error,Viy_error,Viz_error,Latitude_QD,MLT_QD,Calibration_flags,Quality_flags``
149+
EFI_IDM ``Latitude_GD,Longitude_GD,Height_GD,Radius_GC,Latitude_QD,MLT_QD,V_sat_nec,M_i_eff,M_i_eff_err,M_i_eff_Flags,M_i_eff_tbt_model,V_i,V_i_err,V_i_Flags,V_i_raw,N_i,N_i_err,N_i_Flags,A_fp,R_p,T_e,Phi_sc``
143150
IPD ``Ne,Te,Background_Ne,Foreground_Ne,PCP_flag,Grad_Ne_at_100km,Grad_Ne_at_50km,Grad_Ne_at_20km,Grad_Ne_at_PCP_edge,ROD,RODI10s,RODI20s,delta_Ne10s,delta_Ne20s,delta_Ne40s,Num_GPS_satellites,mVTEC,mROT,mROTI10s,mROTI20s,IBI_flag,Ionosphere_region_flag,IPIR_index,Ne_quality_flag,TEC_STD``
144151
TEC ``GPS_Position,LEO_Position,PRN,L1,L2,P1,P2,S1,S2,Elevation_Angle,Absolute_VTEC,Absolute_STEC,Relative_STEC,Relative_STEC_RMS,DCB,DCB_Error``
145152
FAC ``IRC,IRC_Error,FAC,FAC_Error,Flags,Flags_F,Flags_B,Flags_q``

docs/capabilities.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
VirES capabilities
2+
==================
3+
4+
VirES provides more than just *access* to data. Some operations can be peformed on the data in-situ on the server side before being delivered to you.
5+
6+
.. tabs::
7+
8+
.. group-tab:: Swarm
9+
10+
**Data subsetting/filtering**
11+
| Select data satisfying given conditions (e.g. searching a geographical range; selecting by quality flags)
12+
| :py:meth:`viresclient.SwarmRequest.set_range_filter`
13+
| :py:meth:`viresclient.SwarmRequest.set_choice_filter`
14+
| :py:meth:`viresclient.SwarmRequest.set_bitmask_filter`
15+
| :py:meth:`viresclient.SwarmRequest.add_filter` (for arbitrary filters)
16+
**Data resampling**
17+
| Time series can be resampled to a given cadence
18+
| See `sampling_step` option in :py:meth:`viresclient.SwarmRequest.set_products`
19+
**Querying information about data**
20+
| *For example:*
21+
| :py:meth:`viresclient.SwarmRequest.available_times`
22+
| :py:meth:`viresclient.SwarmRequest.get_orbit_number`
23+
| :py:meth:`viresclient.SwarmRequest.get_times_for_orbits`
24+
**Geomagnetic model evaluation**
25+
| Forwards evaluation of magnetic field models when a magnetic dataset is selected (e.g. ``MAGx_LR``)
26+
| :py:meth:`viresclient.SwarmRequest.available_models`
27+
| :py:meth:`viresclient.SwarmRequest.get_model_info`
28+
| `models` option in :py:meth:`viresclient.SwarmRequest.set_products`
29+
**Identifying conjunctions between spacecraft**
30+
| :py:meth:`viresclient.SwarmRequest.get_conjunctions`
31+
**Synchronous and asynchronous processing**
32+
When using :py:meth:`viresclient.SwarmRequest.get_between` with small requests, change the default of `asynchronous=True` to `asynchronous=False` to process faster (no progress bar). By default, jobs are processed asynchronously (i.e. entered into a queue) which is appropriate for longer requests. You can only have two asynchronous jobs running at one time.
33+
34+
.. group-tab:: Aeolus
35+
36+
**Data subsetting/filtering**
37+
| Select data satisfying given conditions (e.g. searching a geographical range; selecting by quality flags)
38+
| :py:meth:`viresclient.AeolusRequest.set_range_filter`
39+
| :py:meth:`viresclient.AeolusRequest.set_bbox`
40+
**Querying information about data**
41+
| *For example:*
42+
| :py:meth:`viresclient.AeolusRequest.available_times`
43+
**Synchronous and asynchronous processing**
44+
When using :py:meth:`viresclient.AeolusRequest.get_between` with small requests, change the default of `asynchronous=True` to `asynchronous=False` to process faster (no progress bar). By default, jobs are processed asynchronously (i.e. entered into a queue) which is appropriate for longer requests. You can only have two asynchronous jobs running at one time.
45+
46+
**Uploading data**
47+
| Data of certain formats can be uploaded to the server and then manipulated like existing datasets (available privately within your account)
48+
| See :doc:`cli` and :py:meth:`viresclient.DataUpload`

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@
3636
"sphinx.ext.autosectionlabel",
3737
"sphinx_copybutton",
3838
"sphinx.ext.viewcode",
39+
"sphinx_tabs.tabs",
3940
]
4041

42+
# sphinx-tabs options
43+
sphinx_tabs_disable_tab_closing = True
44+
4145
# Add any paths that contain templates here, relative to this directory.
4246
templates_path = ["_templates"]
4347

@@ -55,7 +59,7 @@
5559
#
5660
# This is also used if you do content translation via gettext catalogs.
5761
# Usually you set "language" from the command line for these cases.
58-
language = None
62+
language = "en"
5963

6064
# List of patterns, relative to source directory, that match files and
6165
# directories to ignore when looking for source files.

docs/config_details.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Configuration Details
2222
2323
... then follow automatic instructions to configure token if not already set
2424

25-
NB: URL's on this page assume using *VirES for Swarm*. If using *Aeolus* instead, replace ``https://vires.services/ows`` with ``https://aeolus.services/ows``.
25+
.. note::
26+
27+
URL's on this page assume using *VirES for Swarm*. If using *Aeolus* instead, replace {``https://vires.services/ows`` and ``SwarmRequest``} with {``https://aeolus.services/ows`` and ``AeolusRequest``}
2628

2729
While it is possible to enter the server URL and access credentials (see :doc:`access_token`) each time a new request object is created,
2830

docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Introduction
44
.. include:: ../README.rst
55

66
.. toctree::
7+
:hidden:
78
:caption: Virtual Research Environments
89

910
VirES for Swarm <https://vires.services>
@@ -13,26 +14,30 @@ Introduction
1314

1415

1516
.. toctree::
17+
:hidden:
1618
:maxdepth: 2
1719
:caption: Information on viresclient
1820

1921
self
2022
installation
2123
config_details
2224
access_token
25+
capabilities
2326
available_parameters
2427
available_parameters_aeolus
2528
notebook_intro
2629
release_notes
2730

2831
.. toctree::
32+
:hidden:
2933
:maxdepth: 2
3034
:caption: API & CLI
3135

3236
api
3337
cli
3438

3539
.. toctree::
40+
:hidden:
3641
:maxdepth: 2
3742
:caption: External Links
3843

0 commit comments

Comments
 (0)