This notebook demonstrates access to the Swarm ion temperature estimates (EFIxTIE
products). The available variables and their mapping to source product variables are provided.
from viresclient import SwarmRequest
SERVER_URL = "https://vires.services/ows"
Collection | Dataset |
---|---|
SW_OPER_EFIATIE_2_ |
Swarm A ion temperature estimate |
SW_OPER_EFIBTIE_2_ |
Swarm B ion temperature estimate |
SW_OPER_EFICTIE_2_ |
Swarm C ion temperature estimate |
Note that the source EFIxTIE_2_ products contain WGS84 geodetic coordinates rather than the ITRF geocentric sperical coordinates commonly used by other Swarm products. Although the differerences between the latitudes are not very large, VirES coverts the geodetic coordinates to the geocentric ones. The original coordinates from the source products are provides as a reference.
VirES Variable | Source Product Variable | Unit | Dimension | Description |
---|---|---|---|---|
Timestamp |
Timestamp |
$$-$$ | scalar | UTC time-stamp |
Latitude |
n/a | $$\text{deg}$$ | scalar | ITRF geocentric latitude calculated from the source geodetic coordinates |
Longitude |
n/a | $$\text{deg}$$ | scalar | ITRF geocentric longitude calculated from the source geodetic coordinates |
Radius |
n/a | $$\text{m}$$ | scalar | ITRF geocentric radius calculated from the source geodetic coordinates |
Latitude_GD |
Latitude |
$$\text{deg}$$ | scalar | Geodetic latitude from the source product |
Longitude_GD |
Longitude |
$$\text{deg}$$ | scalar | Geodetic longitude from the source product |
Height_GD |
Height |
$$\text{m}$$ | scalar | Height above the WGS84 ellipsoind from the source product |
Radius_GC |
Radius |
$$\text{m}$$ | scalar | Geocentric radius from the source products |
Latitude_QD |
QDLatitude |
$$\text{deg}$$ | scalar | Quasi-dipole latitude from the source product |
MLT_QD |
MLT |
$$\text{hour}$$ | scalar | Magnetic local time (QD) from the source product |
Tn_msis |
Tn_msis |
$$\text{K}$$ | scalar | Neutral temperature from NRLMSISE00 model |
Te_adj_LP |
Te_adj_LP |
$$\text{K}$$ | scalar | Corrected Swarm Langmuir probe (LP) electron temperature |
Ti_meas_drift |
Ti_meas_drift |
$$\text{K}$$ | scalar | Ion temperature estimated using Swarm TII drift at high latitudes |
Ti_model_drift |
Ti_model_drift |
$$\text{K}$$ | scalar | Ion temperature estimated using Weimer 2005 model drifts at high latitudes |
Flag_ti_meas |
Flag_ti_meas |
$$-$$ | scalar | Flags characterising TII-based ion temperature |
Flag_ti_model |
Flag_ti_model |
$$-$$ | scalar | Flags characterising model-based ion temperature |
See the EFIxTIE_2_ product specification for more details.
request = SwarmRequest(SERVER_URL)
request.set_collection("SW_OPER_EFIATIE_2_")
request.set_products(
measurements=SwarmRequest.PRODUCT_VARIABLES["EFI_TIE"], # request all dataset variables
auxiliaries=['QDLat', 'QDLon', 'MLT'], # QD coordinates and MLT calculated by VirES
)
data = request.get_between(
start_time="2016-01-02T00:00:00Z",
end_time="2016-01-03T00:00:00Z",
).as_xarray()
print("Requested variables", ", ".join(SwarmRequest.PRODUCT_VARIABLES["EFI_TIE"]))
print("Response:", data)
Processing: 0%| | [ Elapsed: 00:00, Remaining: ? ] [1/1]
Downloading: 0%| | [ Elapsed: 00:00, Remaining: ? ] (24.028MB)
Requested variables 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 Response: <xarray.Dataset> Dimensions: (Timestamp: 172776) Coordinates: * Timestamp (Timestamp) datetime64[ns] 2016-01-02T00:00:00.196999936 ... Data variables: (12/19) Spacecraft (Timestamp) object 'A' 'A' 'A' 'A' 'A' ... 'A' 'A' 'A' 'A' Flag_ti_model (Timestamp) uint8 1 1 1 1 1 1 1 1 1 1 ... 1 1 1 1 1 1 1 1 1 MLT (Timestamp) float64 17.16 17.16 17.16 ... 5.09 5.09 5.09 Ti_model_drift (Timestamp) float64 1.031e+03 1.031e+03 ... 843.1 843.2 Radius_GC (Timestamp) float64 6.823e+06 6.823e+06 ... 6.826e+06 Flag_ti_meas (Timestamp) uint8 1 1 1 1 1 1 1 1 1 1 ... 1 1 1 1 1 1 1 1 1 ... ... Tn_msis (Timestamp) float64 917.5 917.5 917.4 ... 755.6 755.7 755.7 Latitude_QD (Timestamp) float64 41.45 41.48 41.52 ... 1.453 1.418 1.383 Latitude_GD (Timestamp) float64 31.91 31.94 31.98 ... 8.798 8.765 8.733 QDLat (Timestamp) float64 41.45 41.48 41.52 ... 1.453 1.418 1.382 MLT_QD (Timestamp) float64 17.09 17.09 17.09 ... 5.051 5.051 5.051 Height_GD (Timestamp) float64 4.506e+05 4.506e+05 ... 4.488e+05 Attributes: Sources: ['SW_OPER_EFIATIE_2__20160102T000000_20160102T235959_0101'] MagneticModels: [] RangeFilters: []