TOCView
- Collection of Categories
TOCCategoryItem
initialize: function(options) { | |
if(options && options.mode) { | |
this.mode = options.mode | |
} else { | |
this.mode = null; // better than an udefined, don't you think? | |
} | |
... |
def printify(attr): | |
''' | |
Returns a prettier version of the attribute | |
''' | |
if isinstance(attr, basestring): | |
return '"%s"' % attr | |
return attr | |
def dtype_to_cdl(dtype): | |
dtype_map = { |
"""Module for validating data provider provided NetCDF files against the IOOS | |
National Glider Data Assembly Center (NGDAC) specification""" | |
from netCDF4 import Dataset | |
import os | |
import sys | |
import argparse | |
default_nc_template = u'/Users/kerfoot/code/ioosngdac/nc/template/IOOS_Glider_NetCDF_v2.0.nc' |
#!/usr/bin/env python | |
''' | |
glider_days.py | |
Determines the glider days for a thredds catalog | |
''' | |
from dateutil.parser import parse | |
from datetime import datetime | |
from thredds_crawler.crawl import Crawl |
#!/usr/bin/env python | |
''' | |
mymodule.py | |
what the module does | |
''' | |
import sys | |
import argparse |
#!/usr/bin/env python | |
import requests | |
from zipfile import ZipFile | |
import os | |
import stat | |
def main(path): | |
chrome_fo_mac = 'http://chromedriver.storage.googleapis.com/2.13/chromedriver_mac32.zip' | |
print "Downloading Chrome Driver to", path | |
zip_file = download_file(chrome_fo_mac, path) |
-- | |
-- PostgreSQL database dump | |
-- | |
SET statement_timeout = 0; | |
SET lock_timeout = 0; | |
SET client_encoding = 'UTF8'; | |
SET standard_conforming_strings = on; | |
SET check_function_bodies = false; | |
SET client_min_messages = warning; |
I hereby claim:
To claim this, I am signing this object:
DROP TABLE IF EXISTS PlatformNames; | |
CREATE TABLE PlatformNames( | |
id SERIAL PRIMARY KEY, | |
reference_designator TEXT, | |
array_type TEXT, | |
array_name TEXT, | |
site TEXT, | |
platform TEXT, | |
assembly TEXT); |