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
name: h5coro | |
channels: | |
- conda-forge | |
dependencies: | |
- gdal | |
- ipython | |
- proj | |
- pybind11 | |
- python |
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 | |
source ~/.bash_functions | |
mod_py39 | |
conda activate vdp-common | |
FILES=$(find css-geo/GOES-16-ABI-L1B-FULLD/2022/203 -type f) | |
# Define directory where outptus will be saved | |
OUTDIR=GOES-16-ABI-L1B-FULLD-rc1000 |
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 | |
# Prerequisite: | |
# | |
# (1) Create a `~/.netrc` file (if it doesn't exist); e.g., `touch ~/.netrc` | |
# | |
# (2) Open the `~/.netrc` file in a plain text editor and add a single line like the following: | |
# | |
# machine urs.earthdata.nasa.gov login your_edl_email@email.com password YourEDLPassword123 | |
# |
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 dask.distributed import Client, LocalCluster, progress | |
cluster = LocalCluster() | |
client = Client(cluster) | |
import s3fs | |
import itertools | |
from fsspec.implementations.local import LocalFileSystem | |
import dask | |
from dask.delayed import delayed |
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
H5Aclose | |
H5Acreate1 | |
H5Adelete | |
H5Aexists | |
H5Aget_name | |
H5Aget_num_attrs | |
H5Aget_space | |
H5Aget_storage_size | |
H5Aget_type | |
H5A_info_t |
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
using CanopyOptics | |
using Unitful | |
using Turing | |
using Optim | |
using Distributions | |
using ForwardDiff | |
using Plots | |
using StatsPlots | |
using FillArrays | |
using LinearAlgebra |
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 xarray as xr | |
import numpy as np | |
d1 = np.random.rand(133, 10, 10) | |
t1 = np.arange(1, 134) | |
xs = np.arange(1, 11) | |
ys = np.arange(1, 11) | |
chunking = {"time": 100, "x": 10, "y": 10} |
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 | |
if (return 0 2> /dev/null) | |
then | |
: # Pass | |
else | |
echo 'This script must be `source`d, not executed!' | |
exit 255 | |
fi |
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
def wget(url): | |
import urllib.request | |
import netrc | |
import os | |
import fsspec | |
import base64 | |
from urllib.parse import urlparse | |
# Get login credentials |
NewerOlder