# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> from utilities import css_styles css_styles() # <markdowncell> # # IOOS System Test - Theme 1 - Scenario A - [Description](https://github.com/ioos/system-test/wiki/Development-of-Test-Themes#theme-1-baseline-assessment) # # A researcher new to IOOS wishes to find out what information is available for further research. # Queries are created to determine how much time series information is available on common, core # oceanographic variables such as wind speed and direction, wave height and duration, water # temperature and salinity at different depths, current speed and direction, # where this information resides, and whether this information can be used as input to a few of the # most common data models. # # ## Model Strings # # ## Questions # 1. What Model records and how many are available via each endpoint? # <markdowncell> # ## Q1 - What Model records and how many are available via each endpoint? # <codecell> # https://github.com/ioos/system-test/wiki/Service-Registries-and-Data-Catalogs
from utilities import (date_range, coops2df, coops2data, find_timevar, find_ij, nearxy, service_urls, mod_df, get_coordinates, get_Coops_longName, inline_map, get_coops_sensor_name, css_styles, find_nearest, buildSFOUrls, findSFOIndexs, uv2ws, uv2wd, uv2wdws, isDataValid, cycleAndGetData) import cStringIO from lxml import etree import urllib2 import time as ttime from io import BytesIO from shapely.geometry import LineString from shapely.geometry import Point css_styles() # <markdowncell> # <div class="warning"><strong>Bounding Box</strong> - Small bounding box for San Francisco Bay (named West)</div> # <codecell> bounding_box_type = "box" # Bounding Box [lon_min, lat_min, lon_max, lat_max] area = { 'Hawaii': [-160.0, 18.0, -154., 23.0], 'Gulf of Maine': [-72.0, 41.0, -69.0, 43.0], 'New York harbor region': [-75., 39., -71., 41.5], 'Puerto Rico': [-71, 14, -60, 24],