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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: snowexsql-0.3.1.tar.gz
  • Upload date:
  • Size: 24.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for snowexsql-0.3.1.tar.gz
Algorithm Hash digest
SHA256 6e81c3cbd693b3ad0f39b5f6fb841121f7f639ec9f2639d8c5a30be0a5415f53
MD5 6bf051056913b6bc0164477d6ce201b2
BLAKE2b-256 320944fcdb0e453b39ef327cfe2abd8e65e6bb9de663f639febfb777c57cb807

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snowexsql-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for snowexsql-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d56fd917c652700fe69863bc34bc8a44e21c39b61471b3f2f3b3b7d0e6435ea1
MD5 ee6550d8f9bca71d7b9347265cbdfc65
BLAKE2b-256 890f5e50d557a3b0f27c5190aa8a065fb826f2bf4ae53e992d077b8fc3da81e7

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