Skip to main content

SQL Database software for SnowEx data

Project description

Welcome to snowexsql

Documentation Status Testing Status Code Coverage Code Coverage

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 to contribute!

Install the python package by:

python3 setup.py install

If you are planning on running the tests or building the docs below also run:

pip install -r requirements_dev.txt

If you are using conda you may need to reinstall the following using conda:

  • Jupyter notebook

  • nbconvert

Tests

Quickly test your installation by running:

pytest

The goal of this project is to have high fidelity in data interpretation/submission to the database. To see the current test coverage run:

make coverage

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

History

0.1.0 (2020-06-12)

  • Project Created.

Hack Week 2021 (2021-07-15)

  • Fully deployed database with around 100 users

  • Uploaded with fully reproducible DB using Snowex Data for Grand Mesa 2020

  • Timezones all in Mountain Standard

0.2.0 Repo Split (2022-06-20)

  • Repo was split into an access client and a db builder to reduce overhead

  • snowexsql is now an access client and python tools to make life easy

  • snowex_db is now a repo containing all necessary assets to build db.

0.3.0 (2022-07-6)

  • New columns were added to the LayerData table for flags

  • Converted surveyors to observers

  • Changed utm zone to be an integer

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-0.3.0.tar.gz (22.0 MB view details)

Uploaded Source

Built Distribution

snowexsql-0.3.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snowexsql-0.3.0.tar.gz
  • Upload date:
  • Size: 22.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.8.3 requests/2.27.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10

File hashes

Hashes for snowexsql-0.3.0.tar.gz
Algorithm Hash digest
SHA256 80e15b1bd3a8648808505bc1d6354c3c18b50305880e37c28ed436c528b13475
MD5 aeadde51a4fe8fb74d0e7e971bdbf75d
BLAKE2b-256 dbe64fdbe710ccefb784c0be9aaee75292a30839104dbdc848862c892d158e56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snowexsql-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.8.3 requests/2.27.1 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.10

File hashes

Hashes for snowexsql-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ef9fe58ad05d3080b372c3bc30b8d01b4fa9ffe8a8c49462627e35c70d133d
MD5 58339919be66b0535ad7434bdb0bdfb2
BLAKE2b-256 8fe6b1ff334008cdd5b0ebc623acf1dddb08e23a3e99db93a0bdd11bfc7ad71d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page