Skip to content

Instantly share code, notes, and snippets.

@douglatornell
douglatornell / VTEProbWaterMask.ipynb
Created June 9, 2020 19:37
Effect of SalishSeaCast NEMO water mask for GeoTIFFs on calculation of monthly VTE probability
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@douglatornell
douglatornell / backfill_hdf5-to-netcdf4.sh
Created June 23, 2021 16:28
Script to do HDF5 to netCDF4 conversion of MOHID results in MIDOSS project Monte-Carlo results tree. Created for post-processing of the `north_strait_5th362` batch of runs for which the in-job conversion failed because the `SLURM_TMPDIR` local scratch storage on the node filled.
#!/bin/bash
RESULTS_DIR="/scratch/dlatorne/MIDOSS/runs/monte-carlo/north_strait_5th362_2021-06-14T150753/results/north_strait_5th362"
HDF5_TO_NETCDF4="${HOME}/.local/bin/hdf5-to-netcdf4"
module load python/3.8.2
module load nco/4.9.5
TMPDIR="${SLURM_TMPDIR}"
@douglatornell
douglatornell / xarray_continental25.ipynb
Created February 15, 2024 21:50
Demonstrate Using xarray to Work with Atmospheric Forcing Datasets
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.