Spencer Hill
Spencer Hill
@jswhit I am on travel for several weeks and then under a really pressing deadline through Nov. 1, so unfortunately the earliest I would be able to get to this...
What would the API be for this? A `cftime.strptime` function, akin to [`datetime.strptime`](https://docs.python.org/3/library/datetime.html#datetime.datetime.strptime)? The [relevant code in xarray](https://github.com/pydata/xarray/blob/9c8005937556211a8bf28a946744da3768846c5a/xarray/coding/cftimeindex.py#L12-L100) has `parse_iso8601`, `_parse_iso8601_with_reso`, and `_parsed_string_to_bounds` functions.
We actually had this in a very hack-ish form at one point; in fact Calc still accepts a [`level` kwarg](https://github.com/spencerahill/aospy/blob/develop/aospy/calc.py#L110) in its constructor, which then gets assigned to the Calc's...
Hi @haydenbetts, great that you're interested in helping. Just curious, are you also trying to use the package, or just wanted to contribute? Either is ok :). I know activity...
OK cool, that all sounds good. Looking forward to seeing whatever you end up contributing, and happy to assist at any point along the away.
Working through this offline with @micahkim23, here's an initial stab at how to proceed. The key is that this introduces nested looping, where we need to loop first over the...
I won't have time in the next week to dig into this, and @micahkim23 and I agreed offline that he is now officially done for the fall term. But wanted...
Before even getting to the regional calculations, this non-zonally-defined data requires another fix: performing the zonal average within the Var's function causes sfc_area and land_mask get dropped. A quick-fix that...
One idea: use the `def_lat`, `def_lon`, etc. attributes of `Var` to check against the dimensions/coords of the output in `Calc._compute`.
@spencerkclark thanks a lot for this...apologies; I also might take a while to respond substantively