Closed nickssl closed 3 months ago
Done.
https://github.com/spedas/pyspedas/tree/master/pyspedas/kompsat
Renamed directory 'sosmag' to 'kompsat' because now we can load both magnetometer data from SOSMAG, and proton and electron flux data from particle detectors.
The ESA HAPI server previously contained only magnetometer data from the SOSMAG instrument for the KOMPSAT-2A satellite. Now it also contains data for protons and electrons. Currently, data starts on March 14th, 2024 noon. In the future, they will add particle data for earlier dates. We can modify the existing pyspedas loading functions to include this particle data.
The ESA HAPI server requires authentication (username and password): https://swe.ssa.esa.int/hapi/
Data for protons: https://swe.ssa.esa.int/hapi/data?id=spase://SSA/NumericalData/GEO-KOMPSAT-2A/kma_gk2a_ksem_pd_p_l1&time.min=2024-03-25T00:00:00.000Z&time.max=2024-03-25T12:00:00.000Z&format=json
Data for electrons: https://swe.ssa.esa.int/hapi/data?id=spase://SSA/NumericalData/GEO-KOMPSAT-2A/kma_gk2a_ksem_pd_e_l1&time.min=2024-03-25T00:00:00.000Z&time.max=2024-03-25T12:00:00.000Z&format=json