Skip to main content

Tools for observing the terrestrial and aquatic surfaces of Earth

Project description

Observatory

Build status DOI

Tools for observing the terrestrial and aquatic surfaces of Earth

"You belong among the wildflowers, you belong somewhere you feel free." Tom Petty

An observatory is a location used for observing terrestrial or celestial events (thank you Wikipedia). Observatories have been as simple as containing an astronomical sextant, and as complicated as modern academic supported observatories containing multi-million dollar instruments, tools, with institutions supporting long term research and education programs. While observatories are usually thought of as star-gazing investments in the field of astronomy, observatories have also been constructed in climatology/meteorology, geophysical, oceanography and volcanology communities, in order to investigate and coordinate their research efforts.

This repository is intended for the sharing and distribution of open-source Python based code useful for model and data integration that improves access to large datasets, reduces computational burden, reinvent the wheel less often, and share and communicate more about how to synthesize earth surface observations in useful ways.

Installing Version on conda-forge

Install package with conda:

conda install -c conda-forge ogh

Execute from Jupyter Notebook

!conda install -c conda-forge --yes ogh
import ogh

Installing Latest Master Version

Linux/OSX:

wget https://raw.githubusercontent.com/Freshwater-Initiative/Observatory/master/requirements.txt
wget https://raw.githubusercontent.com/Freshwater-Initiative/Observatory/master/requirements-dev.txt
conda create -n oghenv -c conda-forge python=2.7 --file requirements.txt --file requirements-dev.txt
source activate oghenv
pip install git+https://github.com/Freshwater-Initiative/Observatory.git

Work with a git-versioned-folder in hydroshare to develop your own Utilities

  1. Make a fork of Freshwater-Initiative/Observatory
  2. In HydroShare, get to JupyterHub and open up a terminal instance.
  3. Change the working directory to notebooks/utilities

If you haven't cloned this repository into Hydroshare yet:

  1. type/copy in "git clone " that is available from your fork (eg., https://github.com/username/Observatory.git)
  2. then type in your github username and password to then download the git clone. $ git config --global user.name "your git username" $ git config --global user.email "your email that you used to setup the git account"
  3. you should now have notebooks/utilities/Observatory subdirectory with this README.md and the observatory_gridded_hydrometeorology.py (OGH) within.

If you have previously cloned the git folder to notebooks/utilities, update this to the latest file

  1. Change the working directory to notebooks/utilities/Observatory
  2. Pull the latest (your updated fork - pull from Freshwater-Initiative/Observatory master, before you do this) files from the repository $ git pull
  3. you should now have notebooks/utilities/Observatory subdirectory that matches your fork on github.com (which should match Freshwater-Initiative/Observatory - if you pulled from the master)

Either way:

  1. Change the working directory to notebooks/utilities/Observatory
  2. Copy observatory_gridded_hydromet.py to notebooks/utilities/ $ cp observatory_gridded_hydromet.py ../ Now, the file '/notebooks/utilities/observatory_gridded_hydromet.py' is updated to the latest state (from git)

Saving changes back to git repository

  1. Work on the file and save the changes.
  2. Change the working directory to '/notebooks/utilities'
  3. Copy the modified file back to git versioned folder $ cp 'observatory_gridded_hydromet.py' Observatory/
  4. Change the working directory to '/notebooks/utilities/Observatory'
  5. Check file changes $ git status
  6. Commit the changes $ git add observatory_gridded_hydromet.py $ git commit -m 'Add message to describe these changes, if any' $ git push
  7. Check that the files changed $ git status

“Use only that which works, and take it from any place you can find it.” Bruce Lee

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

ogh-0.2.0.tar.gz (106.7 kB view details)

Uploaded Source

Built Distributions

ogh-0.2.0-py3-none-any.whl (115.5 kB view details)

Uploaded Python 3

ogh-0.2.0-py2-none-any.whl (115.5 kB view details)

Uploaded Python 2

File details

Details for the file ogh-0.2.0.tar.gz.

File metadata

  • Download URL: ogh-0.2.0.tar.gz
  • Upload date:
  • Size: 106.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15

File hashes

Hashes for ogh-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ac94deeccbf7cee3b1d8a3fbc6ca3bb6d431ab1826cd807b379adec48d0b66ef
MD5 2a14ceca8458773e07b460cc1bdc72d2
BLAKE2b-256 6ba64293e92c682dcc88086064615c7ade37d62b3e572657280bbbaec1988af8

See more details on using hashes here.

File details

Details for the file ogh-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ogh-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 115.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7

File hashes

Hashes for ogh-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4b30776b8fa8e76899cdfd8c190c668af49b71465c175bb15d9c5fbb0da6696
MD5 434efd122fbec8d5d6a2b15311f4c346
BLAKE2b-256 ac9474abdf2440dcbeac51470e63bb79bfb6f58e11440665ba6ea5f266d21f74

See more details on using hashes here.

File details

Details for the file ogh-0.2.0-py2-none-any.whl.

File metadata

  • Download URL: ogh-0.2.0-py2-none-any.whl
  • Upload date:
  • Size: 115.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15

File hashes

Hashes for ogh-0.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 650b0a68957f5f8f7b72cee947a659130998e167d8aa73acb173d72d0127f285
MD5 91a94ab07be1aa63710faa513ab69eb7
BLAKE2b-256 7413db426d15f40a157c5aa2a6adb449a13ad6e501d5af5987ddee372353915a

See more details on using hashes here.

Supported by

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