pacificclimate / data-prep-actions

Data Preparation actions - record of ephemera used to prepare data for PCIC data portals and other tools
0 stars 0 forks source link

Add simple script for creating netCDF files with test data #15

Closed corviday closed 5 years ago

corviday commented 5 years ago

This script makes test data files useful for debugging mathematical processes. It makes a copy of a pre-existing netCDF file, except that all non-masked data for a selected variable is set to a repeating constant so it's easy to understand what mathematical changes are made to the data.

It's not very complicated, but I could definitely see wanting it again, even though it is not, strictly speaking, a data prep script.

rod-glover commented 5 years ago

Good idea!