picaso
picaso copied to clipboard
Add the option to save all temperature profiles in a climate run
Closes #213.
- Currently demonstrates the feature in the 12a notebook, I can move this to somewhere else in docs. The only change other than the feature demo is I'm using a relative path to
picaso/data/...
on my machine; I could change this back but am not sure how to make the path work as it was. Is there a project convention to make paths starting with /data work, such as having /path/to/picaso in sys.path? - Previously,
all_profiles
flattened the array of temperature profiles so that it was a 1D array of length (niter * npoints,). Changed this to be a 2D array (niter, npoints) and changedappend
calls tovstack
to accommodate this. This means we can read the temperature profile at each iteration from the HDF5 file without needing to calculate indices for where each one starts.