Skip to content

Instantly share code, notes, and snippets.

@emiliom
emiliom / mmi_term_testing.ipynb
Last active December 22, 2015 18:39
#IOOS #MMI Example Python code to extract controlled vocabulary term information from MMI-hosted vocabularies.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emiliom
emiliom / TWAPvsNEWS2basins.ipynb
Last active December 23, 2015 16:49
#Rivers #GlobalNEWS Assessing the results of overlaying TWAP (TFDD) and NEWS2 (STN30) basins
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emiliom
emiliom / IOOSAAT_ERDDAPdataaccess_ex1.ipynb
Created September 30, 2013 17:44
#IOOS #AnimalAcousticTelem IOOS Animal Acoustic Telemetry Data Project. ERDDAP Data Access Example 1. For detections from one project (at one receiver array), join in all corresponding animal tag data, then plot detections by tagging project and calendar month. 2013-9-30
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emiliom
emiliom / IOOSAAT_ERDDAPdataaccess_ex2.ipynb
Created September 30, 2013 17:46
#IOOS #AnimalAcousticTelem IOOS Animal Acoustic Telemetry Data Project. ERDDAP Data Access Example 2. Example from Bob Branton. Examine animal characteristics for tagged animals from one tagging project (PSS2), by visualizing as a weight vs length density plot. 2013-9-30
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emiliom
emiliom / wakari_paegan_install_log1
Created October 1, 2013 16:17
#IOOS #wakari installation log (with warnings & errors) for paegan installation attempt on wakari custom environment. From ~ 9/25/2013
Downloading/unpacking paegan
Running setup.py egg_info for package paegan
Downloading/unpacking numpy==1.6.2 (from paegan)
Running setup.py egg_info for package numpy
Running from numpy source directory.non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in /opt/anaconda/envs/ioos_em_1/lib
@emiliom
emiliom / wakari_pyoos_pip_install_log1
Created October 3, 2013 19:53
#IOOS #wakari installation log (with warnings & errors) for pyoos installation attempt on wakari custom environment, with paegan 1.0 already installed. The fatal error involved Fiona and its dependence on GDAL, which is not installed on the environment. The reliance on a fixed beautifulsoup4 version is a smaller issue, but also important. From 1…
10/3/2013, on Wakari
[~]$ pip install pyoos > pip_install_pyoos_1.log
--------------------------------------
*** Fatal error message, not captured in the log file
Traceback (most recent call last):
File "/opt/anaconda/envs/ioos_em_2/bin/pip", line 6, in <module>
sys.exit(main())
File "/opt/anaconda/envs/ioos_em_2/lib/python2.7/site-packages/pip/__init__.py", line 161, in main
@emiliom
emiliom / NDBC_SOS_owslib_AlaskaNDBCBuoy.ipynb
Created October 30, 2013 21:34
#IOOS #SOS #OWSLib Wind Speed and Gust from NDBC buoy via NDBC SOS service. Get IOOS CSV data from NDBC SOS service using OWSlib, then read CSV data and plot using Pandas. Tested using an NDBC buoy in Alaska: _Station 46083 (LLNR 1082) - Fairweather Ground 105NM West of Juno, AK_. Adapted from Rich Signell's gist at https://gist.github.com/rsign…
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emiliom
emiliom / AOOS_SOS_owslib_AlaskaNDBCBuoy.ipynb
Created October 30, 2013 21:36
#IOOS #SOS #OWSLib Client Access Tests for IOOS SOS Milestone 1, using the AOOS 52North SOS endpoint. Access the AOOS SOS GetCapabilities, then issue a sample GetObservation request. Currently the GetObs request is failing; it returns a stock web page, not a data response. 2013/10/30
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emiliom
emiliom / AOOS_SOS_SensorML_owslib_AlaskaNDBCBuoy_1.ipynb
Created November 5, 2013 01:50
#IOOS #SOS #OWSLib #MMI Access the AOOS SOS GetCapabilities, issue a sample DescribeSensor request, then parse parts of the response. Includes examples of testing the validity of controlled vocabulary terms vs MMI (using the approach described on the IPython notebook http://nbviewer.ipython.org/6514804). This SOS test complements the one for Get…
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emiliom
emiliom / WBMSedsNEWS_ModelOutput_1.ipynb
Last active December 28, 2015 01:39
#GlobalNEWS #Rivers #WBMSedNEWS Read model output monthly timeseries for any fraction (Qs, POC, PN, PP), from ascii files. Transform data into useful pandas data structures with datetime for further manipulation and exploration. Then illustrate with a few time series plots. Model output files were downloaded from our dropbox directory. WBMSedNEW…
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.