Michael Mann

Results 55 comments of Michael Mann

Another possible xarray structure, that may be easier: ``` dataset = xr.merge([ src.to_dataset(dim='band'), new_band.to_dataset(name='Target')]) print(dataset) ``` ``` Dimensions: (time: 3, x: 515, y: 403) Coordinates: * x (x) float64 7.93e+05...

Hey @phausamann thanks for the response to this! In the meantime was was futzing with Featurizer and will propose a change (mmann1123:patch-1) to handle multidimensional samples (quite sure it is...

@phausamann I just pushed a Stackerizer class to (mmann1123:patch-1) please read the comments. Also, in a related issue, I am finding that I can't use the Stackerizer inside of the...

I'll look into it more but if I drop (X) i get: ``` ~/anaconda3/envs/sk-wombat/lib/python3.7/site-packages/sklearn/utils/validation.py in _num_samples(x) 195 if len(x.shape) == 0: 196 raise TypeError("Singleton array %r cannot be considered" -->...

Ok great. That is super helpful as always. Much appreciated. On Fri, Aug 14, 2020 at 4:09 AM Peter Hausamann wrote: > When you define the target like this: >...

This is maybe a simple but not ideal hack with a less that idea resolution. If there were a way to do element-wise concatenation on the two indexes you could...

I am suddenly getting the same issue after months of successful use. The correct env is activated so not sure what is happening. Any resolution to this?

Figured out a solution: In nbgrader_config.py set the default kernel to one of the named kernels in `jupyter kernelspec list` (very end of the kernel path on the right) ```...

did you `import geowombat as gw` first?

``` python import geowombat as gw from geowombat.data import l8_224077_20200518_B2, l8_224077_20200518_B3,l8_224078_20200518_polygons with gw.open([l8_224077_20200518_B2, l8_224077_20200518_B3], stack_dim="band", band_names=["B2", "B3"]) as src: print(src) srccl = gw.clip(src, l8_224078_20200518_polygons) ``` The following is working for...