This is a simple converter for the source files of the DMSP detector SSJ/4.
This package provides 3 modules for use:
- from_gz
- make_dataset
- transform_dataset
The features of these modules are described below.
- The
unzip(filepath, mode='to_file')function of the from_gz module unpacks the gz-archive. The first parameter of the function takes the path to the file. The second parameter must specify the unpacking mode.
Two unpacking modes are available: "to_file" (default) and "to_ram".
When the "to_file" mode is selected, the function creates a new binary file in the archive directory with the archive name, removing its extension.
When the "to_ram" mode is selected, the function returns the contents of the archive - a set of bytes.
- The
make_xr_dataset(filepath)function of the make_dataset module parses binary data, forming a set of source data from a binary DMSP file.
The input parameter for the function is the path to the archive file with the "gz" extension.
The function returns a set of source data that requires conversion to physical quantities. The type of the returned value is xarray.core.dataset.Dataset (i.e. the xarray library is used).
- The
make_transform_dataset(filepath)function of the transform_dataset module parses binary data, forming a set of transformed data from a binary DMSP file.
The input parameter for the function is the path to the archive file with the "gz" extension.
The function returns a set of data converted to physical quantities. The type of the returned value is xarray.core.dataset.Dataset (i.e. the xarray library is used).
Metadata
Release files for pydmsp 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydmsp-0.1.8.tar.gz | 97.5 MB | Without provenance | Details for pydmsp-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydmsp-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for pydmsp-0.1.8-py3-none-any.whl |
Total release size: 195.2 MB
Release files / pydmsp-0.1.8.tar.gz
| Download URL | pydmsp-0.1.8.tar.gz |
|---|---|
| Size | 97.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27d43fc191c514a3f8032e6d695463c8380289d5026b9e3fe8c3f4518d7cb992
|
|
BLAKE2b-256 checksum How to use checksums |
1b8e66ea073698cf6f0b27e9b68d1690d06a3e0a0093582c175c437efea698b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.2
|
Release files / pydmsp-0.1.8-py3-none-any.whl
| Download URL | pydmsp-0.1.8-py3-none-any.whl |
|---|---|
| Size | 97.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16b9833d730ec2a6c1b3820f99cc02340e6443a5405fbf1094d26cc49c4676a8
|
|
BLAKE2b-256 checksum How to use checksums |
49d6193a74460e0724c06540167da5bee389a006c0f94d99642743c6836184bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.2
|
Security for pydmsp 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.