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.
Install
# 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.
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.0.tar.gz
(20.3 kB
view details)
Built Distribution
sgl2020-0.1.0-py3-none-any.whl
(26.9 kB
view details)
File details
Details for the file sgl2020-0.1.0.tar.gz
.
File metadata
- Download URL: sgl2020-0.1.0.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1b6b04f53f030a11cc8041bc1a9c0f7c3b753634b21cdaae284771760696554 |
|
MD5 | 488ac1e21b477922ea55c529273eb3b4 |
|
BLAKE2b-256 | 22d30beb4875a7a764cd01cb02a8e1bb295766b31b01f47f6f637ab6426237fd |
File details
Details for the file sgl2020-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: sgl2020-0.1.0-py3-none-any.whl
- Upload date:
- Size: 26.9 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 | 86619e76c6b999bee9940a4bf0fe03eec5755fc08d89b5e58e25d6c8d758666b |
|
MD5 | 6a44fd3feca73caba95aa958a4d55325 |
|
BLAKE2b-256 | af66c702b2cf73cf8b36a38b9b7e047c49c713fc6d285c8f477f4518cc68da0f |