-
Does anybody have a straightforward example of using the `dim` keyword on `weighted_corr`? I'm having issues with it. I'm testing the p-value function on, say, a lat/lon grid of data.
```python
im…
-
Current functions in `esmlab.statistics.py` work when weights are in form of `xr.DataArray` only. The docstring states that functions expect `weights` to be `array_like`
https://github.com/NCAR/esm…
-
I guess you do regional analysis by taking a map, selections a Lon lat range and then take a weighted average.
What about using regionmask or salem for selection of regions. Here we could select b…
-
https://github.com/NCAR/esmlab/blob/878b80c3477a6c9fd990148ada299b51217d3020/esmlab/statistics.py#L147
Since this function calls `weighted_sum`, we're call `_get_weights_and_dims` twice.
We coul…
-
The time values returned by compute_mon_anomaly and compute_mon_climatology are wrong.
The python code in the following file, which has a .txt suffix to enable me to attach it, exhibits the problem…
-
I'm calling `ds_ann = compute_ann_mean(ds)` on an xarry Dataset where `ds.time.attrs` includes 'calendar' and am finding that `ds_ann.time.attrs` does not include 'calendar'.
The python code in the…
-
* esmlab version: `2019.1.0`
* xarray version: `0.11.0`
* Python version: `2.7.14`
* Operating System: this is on `cheyenne`
### Description
I tried to compute the weighted average of a singl…
-
* esmlab version:`2019.1.0
* xarray version: 0.11.2
* Python version: 3.6.7
* Operating System: macos 10.14.2
### Description
As discussed in #28, confusion can arise when a scalar value is r…
-
### Description
```compute_mon_climatology``` function fails when run on multiple POP2 history files (glade/scratch/altuntas/archive/g.e20.GIAF.T62_g37.test_d2m.001/ocn/hist/g.e20.GIAF.T62_g37.test…
-
```python
#!/usr/bin/env python
import xarray as xr
import esmlab
# Read in a CESM climatology file
in_files = []
for n in range(0,12):
in_files.append("/glade/work/mclong/woa2013v2/POP_g…