Skip to content

Instantly share code, notes, and snippets.

@paolap
paolap / Calculating averages for regions defined by shapefiles.ipynb
Last active March 30, 2021 21:51
Calculating averages for regions defined by shapefiles
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@paolap
paolap / C20C_example_for_Kate.ipynb
Created March 19, 2021 02:49
C20C concatenate members
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@paolap
paolap / parse_checker.py
Last active June 2, 2021 06:58
Python3 script to summarise ioos checker report on multiple files
#!/usr/bin/env python
# This script create a summary of CF/ACDD tests run by the IOSS checker on multiple files
# https://github.com/ioos/compliance-checker
# First run the checker generating a json_new output
# NB json format only works on one file, for multiple file you have to use json_new
# ie. cchecker.py -t=cf -f json_new -o test.json <files>
# then passed the json file as input to this script
# python parse_checker.py test.json
#
# Copyright 2019 ARC Centre of Excellence for Climate Extremes