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
from netCDF4 import Dataset | |
import numpy | |
from matplotlib import pyplot | |
from shapely.geometry import Polygon, mapping | |
from shapely.ops import cascaded_union | |
from utils.feature_write_utils import write_all_features | |
def extract_geometry(mask): |
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 | |
""" | |
This script creates MOCBasinRegionGroup, which includes five regions used for | |
computing the meridional overturning circulation (MOC) and meridional heat | |
transport (MHT) | |
""" | |
# stuff to make scipts work for python 2 and python 3 | |
from __future__ import absolute_import, division, print_function, \ | |
unicode_literals |
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 | |
import numpy | |
import matplotlib.pyplot as plt | |
from scipy.ndimage.filters import convolve1d | |
from pandas import DataFrame | |
from sklearn import linear_model | |
nx = 2001 | |
x = numpy.linspace(-10., 10., nx) |
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 make_vertical_grid_xsad import create_vertical_grid | |
# Standard 64 layer vertical grid | |
create_vertical_grid(bottom_depth=5500, nz=64, dz1_in=2., dz2_in=200., | |
plot_vertical_grid=True, outFile= 'vertical_grid_xsad.nc') |
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 bash | |
conda create -y -n plot_topo_env -c conda-forge python=3.9 cartopy matplotlib xarray numpy progressbar2 requests cmocean | |
conda activate plot_topo_env | |
./plot_bedmap2_topo.py |
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 subprocess | |
import os | |
subdir = 'osx-64' | |
specs = ['python=3.9.*', | |
'setuptools', | |
'cython', | |
'libcdms', |
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 -e | |
feedstock="$1"-feedstock | |
mkdir -p "${feedstock}" | |
cd "${feedstock}" | |
git clone [email protected]:conda-forge/"${feedstock}".git |
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 subprocess | |
import os | |
subdir = 'linux-64' | |
specs = ['python=3.9', | |
#'qt=5.12.9',', | |
'dbus >=1.13.6,<2.0a0', | |
'expat >=2.2.10,<3.0.0a0', |
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 argparse | |
import os | |
import shutil | |
import subprocess | |
import packaging.version | |
import grayskull.strategy | |
from importlib.resources import open_binary | |
import yaml |
OlderNewer