Skip to content

Commit 526fd32

Browse files
committed
Merge branch 'staging'
2 parents 88c5af0 + a3ce9fb commit 526fd32

14 files changed

+303
-27
lines changed

.github/workflows/test-latest.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test Latest
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# Weekly on Sunday
7+
- cron: '0 0 * * 0'
8+
9+
jobs:
10+
checks:
11+
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
12+
runs-on: ${{ matrix.runs-on }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
python-version: ["3.6", "3.10"]
17+
runs-on: [ubuntu-latest, macos-latest, windows-latest]
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: actions/setup-python@v2
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install package
24+
run: python -m pip install .[test]
25+
- name: Configure token access
26+
run: |
27+
viresclient set_token "https://vires.services/ows" ${{ secrets.VIRES_TOKEN_SWARM }}
28+
viresclient set_default_server https://vires.services/ows
29+
- name: Test package
30+
run: python -m pytest -ra

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ repos:
5959
exclude: docs/conf.py
6060
additional_dependencies: &flake8_dependencies
6161
- flake8-bugbear
62-
- flake8-print
62+
# - flake8-print
6363

6464
- repo: https://github.com/pycqa/flake8
6565
rev: 4.0.1

CITATION.cff

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This CITATION.cff file was generated with cffinit.
2+
# Visit https://bit.ly/cffinit to generate yours today!
3+
4+
cff-version: 1.2.0
5+
title: ESA-VirES/VirES-Python-Client
6+
message: >-
7+
If you use this software, please cite it using the
8+
metadata from this file.
9+
type: software
10+
authors:
11+
- given-names: Ashley R. A.
12+
family-names: Smith
13+
14+
orcid: 'https://orcid.org/0000-0001-5198-9574'
15+
- given-names: Martin
16+
family-names: Pačes
17+
18+
- given-names: Daniel
19+
family-names: Santillan
20+
21+
identifiers:
22+
- type: doi
23+
value: 10.5281/zenodo.2554162
24+
description: All versions of the software
25+
repository-code: 'https://github.com/ESA-VirES/VirES-Python-Client'
26+
abstract: >-
27+
viresclient is a Python package for easy access to
28+
Swarm & Aeolus products as xarray.Dataset
29+
license: MIT

docs/available_parameters.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ Collection full name Collection type Description
4040
SW_OPER_MAGx_LR_1B MAG Magnetic field (1Hz) from VFM and ASM
4141
SW_OPER_MAGx_HR_1B MAG_HR Magnetic field (50Hz) from VFM
4242
SW_OPER_EFIx_LP_1B EFI Electric field instrument (Langmuir probe measurements at 2Hz)
43+
SW_OPER_EFIxTIE_2\_ EFI_TIE Estimates of the ion temperatures
44+
SW_EXPT_EFIx_TCT02 EFI_TCT02 2Hz cross-track ion flows
45+
SW_EXPT_EFIx_TCT16 EFI_TCT16 16Hz cross-track ion flows
4346
SW_OPER_IPDxIRR_2F IPD Ionospheric plasma characteristics (derived quantities at 1Hz)
4447
SW_OPER_TECxTMS_2F TEC Total electron content
4548
SW_OPER_FACxTMS_2F FAC Field-aligned currents (single satellite)
@@ -135,6 +138,8 @@ Collection type Available measurement names
135138
MAG ``F,dF_AOCS,dF_other,F_error,B_VFM,B_NEC,dB_Sun,dB_AOCS,dB_other,B_error,q_NEC_CRF,Att_error,Flags_F,Flags_B,Flags_q,Flags_Platform,ASM_Freq_Dev``
136139
MAG_HR ``F,B_VFM,B_NEC,dB_Sun,dB_AOCS,dB_other,B_error,q_NEC_CRF,Att_error,Flags_B,Flags_q,Flags_Platform,ASM_Freq_Dev``
137140
EFI ``U_orbit,Ne,Ne_error,Te,Te_error,Vs,Vs_error,Flags_LP,Flags_Ne,Flags_Te,Flags_Vs``
141+
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``
142+
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``
138143
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``
139144
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``
140145
FAC ``IRC,IRC_Error,FAC,FAC_Error,Flags,Flags_F,Flags_B,Flags_q``

docs/conf.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
# add these directories to sys.path here. If the directory is relative to the
1212
# documentation root, use os.path.abspath to make it absolute, like shown here.
1313
#
14-
import os
15-
import sys
16-
import urllib.request
14+
1715

1816
# -- Project information -----------------------------------------------------
1917

@@ -79,7 +77,7 @@
7977
# further. For a list of options available for each theme, see the
8078
# documentation.
8179
#
82-
# html_theme_options = {}
80+
html_theme_options = {}
8381

8482
# Add any paths that contain custom static files (such as style sheets) here,
8583
# relative to this directory. They are copied after the builtin static files,
@@ -96,14 +94,7 @@
9694
#
9795
# html_sidebars = {}
9896

99-
# Fetch and use external logo
100-
logo_filename = "vre_logo_light.svg"
101-
if not os.path.exists(logo_filename):
102-
urllib.request.urlretrieve(
103-
"https://raw.githubusercontent.com/ESA-VirES/Swarm-VRE/staging/docs/_static/vre_logo_light.svg",
104-
logo_filename,
105-
)
106-
html_logo = logo_filename
97+
html_logo = "images/vre_logo_light.svg"
10798

10899

109100
# -- Options for HTMLHelp output ---------------------------------------------

0 commit comments

Comments
 (0)