This is a code repository where shared code can be uploaded. Contact Luke if you've got code that you think would be useful for the entire RECCAP2 ocean group.
git clone https://github.com/RECCAP2-ocean/RECCAP2-shared-resources.git
cd RECCAP2-shared-resources
conda env create -f environment.yml
conda activate reccap2
-
data/regions
: masks for the RECCAP study -
data/reccap2_data.yml
: a file containing download info for RECCAP2 ocean data. Used byscripts.data
-
scripts/regions
: scripts to make the masks -
script/data
: For an example seenotebooks/reccap2-load-ocean-data.ipynb
- Downloads data from the server (may take some time) using the configuration in the
data/reccap2_data.yml
file - Open and transform the data. Gives summary of changes made to homogenise data
- Merge data based on variable
- Downloads data from the server (may take some time) using the configuration in the
-
scripts/plot
: sets the configuration for plotting to have a nice simple style. Also supports mapping withcartopy
-
scripts/map
: makes it easy to plot with xarray DataArrays