Joe Hamman

Results 587 comments of Joe Hamman

Hi @sofroniewn - This is certainly something we still want to work on (see [this section of our current roadmap](http://xarray.pydata.org/en/stable/roadmap.html#labeled-array-without-coordinates) and a [more detailed proposal that included work in this...

@andy-sweet - please do join the next call. I've added it to the meeting agenda.

We do try to stay consistent with pandas except for the last position. [Here's](https://github.com/pydata/xarray/blob/9cf107b522188e206bd15f4620bc3b55ca30e616/xarray/test/test_dataarray.py#L1549-L1567) the unit test where we verify that behavior. Using `x=0` from your example in Pandas: ```...

I'm fine with this approach for now. It would be great if we could convince bottleneck to help us out with a keyword argument of some kind.

I just pushed a little experiment that could be a really nice path forward here: [c0cf4ee](https://github.com/pydata/xarray/pull/8460/commits/c0cf4ee93bcbefb6734d870cfb2b5bbc33f9260a). Demo: ```python ds = xr.tutorial.open_dataset('rasm').chunk('5mb') # baseline mapper_a = fs.get_mapper("s3://foo/init-zarr-test-a") %time xr.zeros_like(ds).to_zarr(mapper_a, mode='w', compute=False)...

@YifanCheng - should be easy to add. Just mimic the `'out_precision'` option and make sure it gets here: https://github.com/UW-Hydro/MetSim/blob/b1dd17c09f9aff7cad2b635d1b1a7a8ea88abe08/metsim/metsim.py#L322-L323

Thanks but I think the better way to approach this is to make this a option in the config file. I'll leave this open but I think it will require...

@orianac - This should push you in the right direction: ``` python tuple(map(float, os.path.splitext(os.path.basename(filename))[0].split('_')[-2:])) ``` We want to test this though so if you could add a few short tests...

I have some scratch code somewhere around here that parses a VIC global parameter file. It's pretty easy actually. I'd be happy to pull a first draft of the parser...