Skip to main content

SQL Database software for SnowEx data

Project description

Documentation Status Testing Status Code Coverage https://codecov.io/gh/SnowEx/snowexsql/graph/badge.svg?token=B27OKGBOTR

About

Database access and tools for using the SnowEx database. This tool is simply a client for accessing the database using python

WARNING - This is under active development in preparation for SnowEx Hackweek. Use at your own risk. Data will change as it is QA/QC’d and the end goal is for all data in this database to be pulled from NSIDC. The goal is for this to become a community database open to all.

Features

  • Database access for SnowEx Database

  • Analysis tools

  • Useful conversions to pandas and geopandas

  • Lots of examples

Installing

If you are just planning on using the database, then only install the python package instructions below.

I just want to use it

Install using pip:

pip install snowexsql

I want data fast

A programmatic API has been created for fast and standard access to Point and Layer data. There are two examples covering the features and usage of the api. See the specific api documentation for detailed description.

from snowexsql.api import PointMeasurements, LayerMeasurements
# The main functions we will use are `from_area` and `from_filter` like this
df = PointMeasurements.from_filter(
    date=date(2020, 5, 28), instrument='camera'
)
print(df.head())

I need help

Jump over to our discussion forum and get help from our community.

I want to contribute

Thank you for the interest!

Our community follows the Contributor Covenant

Have a look at our contribution guide and see the many ways to get involved!

Documentation

There is a whole host of resources for users in the documentation. It has been setup for you to preview in your browser.

In there you will find:

  • Examples of database use

  • Database structure

  • API to the python package snowexsql

  • Links to other resources

  • Notes about the data uploaded

  • And more!

To see the documentation in your browser:

Warning: To see the examples/gallery, the snowex db needs to be up. Otherwise they will be left with the last image submitted to GitHub.

make docs

DOI

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

snowexsql-1.0.0.tar.gz (6.3 MB view details)

Uploaded Source

Built Distribution

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

snowexsql-1.0.0-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snowexsql-1.0.0.tar.gz
  • Upload date:
  • Size: 6.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for snowexsql-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4533d9212d37255ebd3bc8fbee9ec5515471bd0184fc07ff647a3756dafd6c62
MD5 0cbd4b3c3f6ce426d545d22f2bae36c8
BLAKE2b-256 b1049b68f55373086e636e871ab550c72b7f19e5619f2ba0f2afcaaf33e1aef7

See more details on using hashes here.

Provenance

The following attestation bundles were made for snowexsql-1.0.0.tar.gz:

Publisher: cd.yml on SnowEx/snowexsql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: snowexsql-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for snowexsql-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40197d0c056dbcb01356394b7f49a245851ef0a244079fdbee448fc4c8fe1491
MD5 48f2aff777612d28fe933668b494fad0
BLAKE2b-256 a43aa46cc6fdd8d3c641c03691dce5deaac7035dd689bfe1c4a3cba44f67bd22

See more details on using hashes here.

Provenance

The following attestation bundles were made for snowexsql-1.0.0-py3-none-any.whl:

Publisher: cd.yml on SnowEx/snowexsql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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