Data Wrapper for SGL2020 Aeromagnetic Survey
Project description
sgl2020
Data wrapper for SGL2020 aeromagnetic survey.
Features
- Automatic dataset file download and caching.
- Support multiple ways to select line data, such as selecting all lines, all lines for specific flights, line range, etc.
- Provide flight and sensor descriptions to help understand the structure and content of the dataset.
Installation
# Stable
pip install sgl2020
# Nightly
pip install git+https://github.com/dorian-li/sgl2020.git
Usage Cases
Fetch Data
-
Typical usage
from sgl2020 import Sgl2020 surv_d = ( Sgl2020() .line([1002.02, 1002.20]) .source( [ "ins_pitch", "ins_roll", "ins_yaw", "mag_1_c", "mag_5_uc", "flux_b_x", "flux_b_y", "flux_b_z", ] ) .take() ) # Dict[line, DataFrame]
-
Select lines
# The following usage can be combined with each other # Select all lines of all flight in dataset Sgl2020().line(["*.*"]) # Select all lines in flight 1002 Sgl2020().line(["1002.*"]) # Select line 1002.02 Sgl2020().line(["1002.02"]) # Or use float Sgl2020().line([1002.02]) # Select more lines Sgl2020().line([1002.02, 1002.20]) # Select line range Sgl2020().line(["1002.01-1002.05"])
-
The specific
line
andsource
can be found inSgl2020.describe()
Description
- Show all source infomation
Sgl2020.describe("sensor")
- Show infomation of flight
1002
Sgl2020.describe("1002") # Or use integer Sgl2020.describe(1002)
- Show all flight infomation
Sgl2020.describe("flight")
Thanks
Sincerely thank the MagNav.jl team for their publicly available resources.
Disclaimers
Regarding the authorization scope of data, please strictly follow the instructions of the original repo regarding the Data Sharing Agreement
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sgl2020-0.1.1.tar.gz
(20.4 kB
view details)
Built Distribution
sgl2020-0.1.1-py3-none-any.whl
(27.0 kB
view details)
File details
Details for the file sgl2020-0.1.1.tar.gz
.
File metadata
- Download URL: sgl2020-0.1.1.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27ad98f915b691d73155baaf2f831047e6d55e54f666e5f61414668385d1f6f1 |
|
MD5 | 9ae49ee9a709a714d4cfe9804b0dc5ab |
|
BLAKE2b-256 | 01d15e050961b1b65cbeb13d28e9f51239d538d77a9e80ace7df5fcc45ace713 |
File details
Details for the file sgl2020-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: sgl2020-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d179b32174b0e376bdeeedf1667143950d551a5bc9642c89ccc4b254ef5a44c |
|
MD5 | c2e674c52de8bbd53d98a89b4ff11ed1 |
|
BLAKE2b-256 | 516290de48045f16c7adafd63f16c9093b06efb660c0900e9af3134f1093d9b9 |