name | rank | runs | mean | sd | timesBaseline |
---|---|---|---|---|---|
cython | 1 | 5 | 21.58 | 1.012 | 1.0 |
numba | 2 | 5 | 76.7 | 1.635 | 3.55484625395 |
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
import sys | |
import requests | |
from requests.auth import HTTPBasicAuth | |
def go(username, password): | |
""" | |
Example of programmatically accessing Sentinel data. | |
:param username: |
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 | |
import json | |
import click | |
import numpy as np | |
def get_corner_points(coordinates): | |
coords = np.array(coordinates) |
- Daily tile server - http://www.nnvl.noaa.gov/view/#TRUE
- Low resolution data access - http://neo.sci.gsfc.nasa.gov/view.php?datasetId=VIIRS_543D
- Beginner's Guide to working with VIIRS - http://rammb.cira.colostate.edu/projects/npp/Beginner_Guide_to_VIIRS_Imagery_Data.pdf
- CLASS for direct data access - http://www.class.ncdc.noaa.gov/saa/products/welcome
- Example FTP directory for Level 1 products - ftp://ftp-npp.class.ngdc.noaa.gov/20150803/VIIRS-SDR/
- VIIRS EDR User Guide - http://rammb.cira.colostate.edu/projects/npp/VIIRS_Imagery_EDR_Users_Guide.pdf
- Software from Wisconsin for processing VIIRS - https://cimss.ssec.wisc.edu/cspp/download/
- Documentation of above software - ftp://ftp.ssec.wisc.edu/pub/CSPP/hidden/NPP/UTIL/polar2grid/v1.2/CSPP_IMAPP_Polar2Grid_Installation_Guide_v1.2.pdf
- Sphinx docs on polar2grid - http://www.ssec.wisc.edu/software/polar2grid/index.html
- polar2grid code - https://github.com/davidh-ssec/polar2grid
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
usgs search --node EE LANDSAT_8 --start-date 2015-05-24 --end-date 2015-05-25 --geojson | \ | |
jq '[ .features[] | { entityId: .properties.entityId, acquisitionDate: .properties.acquisitionDate , modifiedDate: .properties.modifiedDate } ]' | \ | |
jq '[ .[] | select((.modifiedDate | fromdate) - (.acquisitionDate | fromdate) > 86400) ]' |
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
# Select the Landsat scene with lowest cloud coverage, sans postgis | |
ls -1 *.tif | parallel "rio bounds {} | usgs search --node EE LANDSAT_8 --geojson --start-date 2015-06-01 --extended | jq '[.features[].properties]' | jq 'min_by(.extended[\"Scene Cloud Cover\"] | tonumber)' | jq '{ entityId: .entityId, planet: \"{.}\", cloud: .extended[\"Scene Cloud Cover\"] | tonumber }'" > {.}.json |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
set -eou pipefail | |
function usage() { | |
echo "" | |
echo "Test USGS download limit." | |
echo "" | |
echo "Usage: ./test-usgs-download-limit.sh" | |
echo "" |