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
lineandsourcecan be found inSgl2020.describe()
Description
- Show all source infomation
Sgl2020.describe("sensor")
- Show infomation of flight
1002Sgl2020.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
Release files for sgl2020 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sgl2020-0.1.1.tar.gz | 20.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sgl2020-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.4 kB
Release files / sgl2020-0.1.1.tar.gz
| Download URL | sgl2020-0.1.1.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27ad98f915b691d73155baaf2f831047e6d55e54f666e5f61414668385d1f6f1
|
|
BLAKE2b-256 checksum How to use checksums |
01d15e050961b1b65cbeb13d28e9f51239d538d77a9e80ace7df5fcc45ace713
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / sgl2020-0.1.1-py3-none-any.whl
| Download URL | sgl2020-0.1.1-py3-none-any.whl |
|---|---|
| Size | 27.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d179b32174b0e376bdeeedf1667143950d551a5bc9642c89ccc4b254ef5a44c
|
|
BLAKE2b-256 checksum How to use checksums |
516290de48045f16c7adafd63f16c9093b06efb660c0900e9af3134f1093d9b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|