Skip to content

Instantly share code, notes, and snippets.

View prl900's full-sized avatar

Pablo Rozas Larraondo prl900

View GitHub Profile
@prl900
prl900 / reviewer1.ipynb
Last active January 15, 2020 11:28
Reviewer#1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/g/data/xc0/software/python/miniconda2/bin/python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
"class": "mc",
"dataset": "cams_gfas",
"date": "2019-01-01/to/2019-12-31",
"expver": "0001",
"levtype": "sfc",
@prl900
prl900 / him_gae.py
Last active December 29, 2019 14:21
# [START gae_python37_app]
from flask import Flask
from flask import send_file
from datetime import datetime
from datetime import timedelta
import pytz
import io
import os
import bz2
@prl900
prl900 / reviewer-1.ipynb
Created December 13, 2019 09:14
Reviewer#1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import fiona
from shapely.geometry import shape
import glob
import pickle
import urllib2
import pandas as pd
from StringIO import StringIO
import os
def get_dams():
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.