This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ssh": { | |
"standard_name": "sea_surface_height$|sea_surface_elevation|sea_surface_height_above_sea_level$", | |
"name": "(?i)sea_surface_elevation(?!.*?_qc)|(?i)sea_surface_height_above_sea_level_geoid_mllw$|(?i)zeta$|(?i)Sea Surface Height(?!.*?_qc)|(?i)Water Surface above Datum(?!.*?_qc)" | |
}, | |
"temp": { | |
"name": "(?i)temp$|(?i)temperature$|(?i)tem$|(?i)s.sea_water_temperature$|(?i)temperature(?!.*(skin|ground|air|_qc))" | |
}, | |
"salt": { | |
"standard_name": "sea_water_salinity$|sea_water_practical_salinity$", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
''' | |
from __future__ import print_function | |
from argparse import ArgumentParser | |
import sys | |
import random |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
split-certs.py | |
Splits certificates | |
''' | |
from __future__ import print_function | |
from argparse import ArgumentParser | |
import os |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Hexdump { | |
public static void main(String[] args) { | |
System.out.println("Hello"); | |
System.out.println(hexdump("Hello helo hell")); | |
} | |
public static String hexdump(String str) { | |
char[] chars = str.toCharArray(); | |
StringBuilder sb = new StringBuilder(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import print_function | |
from argparse import ArgumentParser | |
import sys | |
import os | |
import csv | |
source_file_suffixes = [ | |
'.java', | |
'.js', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const moment = require('moment'); | |
let a = moment.utc('2018-01-16T13:00:00Z'); | |
let b = moment('2018-01-16T13:00:00Z'); | |
let c = moment.utc('2018-01-16T13:00:00Z'); | |
// Reflexive | |
console.log('reflexive'); | |
console.log('a == a', a.isSame(a)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scale_factor = np.pi/128. | |
inverse_scale_factor = 1/scale_factor | |
def lam(x, z): | |
return np.rad2deg(x / np.power(2, zoom) * scale_factor - np.pi) | |
def phi(y, z): | |
angle = np.pi - scale_factor * y/(np.power(2, z)) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<xsd:schema | |
id="csw-discovery" | |
targetNamespace="http://www.opengis.net/cat/csw/2.0.2" | |
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" | |
xmlns:ogc="http://www.opengis.net/ogc" | |
xmlns:ows="http://www.opengis.net/ows" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
elementFormDefault="qualified" | |
version="2.0.2 2010-01-22"> |
NewerOlder