aospy
aospy copied to clipboard
Python package for automated analysis and management of gridded climate data
[calc._get_input_data](https://github.com/spencerahill/aospy/blob/develop/aospy/calc.py#L391-L392) determines whether to interpolate a variable from half to full levels on the basis of the associated `Var.def_vert`. This is not desirable if the particular variable of interest is...
C.f. https://github.com/spencerahill/aospy/pull/183#issuecomment-301452304 This could be done as part of #80, but doesn't have to be. In fact there's more urgency to get this WRF functionality in place than for a...
I have just come across this use case for the first time: the land mask is defined at each timestep, i.e. (time, lat, lon). We currently assume that the land...
From https://github.com/spencerahill/aospy/pull/155#issue-214872543: >this is well suited for a more OOP approach: a CalcSpec abstract base class, with one implementation of it for each spec that gets passed to Calc. Each...
Eventually we would like to be able to specify `'all'` as the variable name, in which case all of a project's variables are calculated. In the same way as we...
As configured on Caltech's Fram cluster, the idealized models executed via FMS produce what is essentially `dtype_in_time='av'` data that, unlike GFDL's case where the data retains a time coordinate and...
The data structures `Proj`, `Model`, and `Run` don't obey an "is-a" conceptual relationship relative to one another (a model is not a type of project, and a run is not...
- Determines what the needed arrays and time subsets are for each computation, and then holds on to a copy whenever a subsequent Calc needs one identical to (or a...
For a specified `Calc`, check if final output data exists already. If yes and `overwrite` option not selected, skip it. `overwrite` provides a switch to toggle this on or off,...
Copying from https://github.com/spencerahill/aospy/issues/156#issue-215307459, since it's not the main topic of that issue: >One idea: create an ObjectLibrary class, something like: ```python class ObjectLibrary(object): def __init__(self): self.projects = {} self.variables =...