Skip to main content

NgSatData - a Python library for fetching space weather datasets

Project description

NgSatData - a Python library for fetching space weather datasets

NgSatData has a machine-learning-ready unified API that allows you to fetch all public available space weather datasets of a data center via its provided driver. Currently, only one driver by the Space Monitoring Data Center (SMDC - http://smdc.sinp.msu.ru) of SINP MSU is provided.

If you're interested in using SatData in your work, please send me an e-mail to bsd@conqueror.pro.

Examples

To use the SMDC driver

  • create a file called smdc_config.jsonp* add the following authorization credentials to smdc_config.json
{
  "username": "your SMDC username",
  "password": "you SMDC password"
}
  • export the path to the file using the SMDC_CONFIG_JSON enviroment variable
export SMDC_CONFIG_JSON=`pwd`/smdc_config.json
  • to fetch data of the das3vrt1 channel of the SKL instrument of the Electro-L2 satellite
from ngsatdata.providers.smdc import SMDC
smdc = SMDC()
smdc.authorize()
df = smdc.fetch(source='electro_l2',
                instrument='skl',
                channel='das3vrt1',
                start_dt='2017-10-14 10:43:38',
                end_dt='2017-10-14 10:43:47',
                time_frame='1s',
                level='default')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ngsatdata-1.0.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ngsatdata-1.0.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file ngsatdata-1.0.0.tar.gz.

File metadata

  • Download URL: ngsatdata-1.0.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for ngsatdata-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b2cd4e12281d96e7a038b901297409a44696f1f6616a390c47707e22aac6152f
MD5 d992ab734d4f1c1f79b6ab10e698cbbc
BLAKE2b-256 c4ac47f7ef7e31e172cea0ad0968c824c3518c131366892355f0d0ec02ab01d6

See more details on using hashes here.

File details

Details for the file ngsatdata-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ngsatdata-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for ngsatdata-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf1ca3d5f4451382719511b1a0cbf5ee86102180e409d905430e758747f8665
MD5 9cd701a851424aaafd6ba960b8561519
BLAKE2b-256 db629353ea0e465eb4067a584f14034758a17b7a935508243a59b590ccd3b645

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page