xarray
xarray copied to clipboard
N-D labeled arrays and datasets in Python
### What happened? In the following example, it appears that the `skipna=True` argument is being ignored, unless you call `construct` before taking the mean. ### What did you expect to...
### What is your issue? Hi, The current behavior of merge/concat(combine_attrs='override') is to copy attrs from the first object to the result. However, for me at least, the overrride word...
Cache some small properties that are rather slow to calculate but doesn't change that often. Questions that needs to be resolved: - [ ] Can these properties change during the...
I've found it useful to have a version of Dataset.sum which sums variables in a way that's consistent with what would happen if they were broadcast to the full Dataset...
This issue was motivated by a recent conversation with @jdha regarding how they are preparing inputs for regional ocean models. They are currently using ncml with netcdf-java to consolidate and...
### What is your issue? Dear all, I have a question about producing netcdf files using xr.to_netcdf(). I used the same script to process MODIS data but got some files...
### What happened? When upgrading to 2022.6.0.rc0 from 2022.3.0 I noticed a possible unexpected breaking change in the Dataset.indexes property. MultiIndices are now listed for each dimension they apply for...
This PR makes the typing of reduction methods (`count`, `all`, `any`, `max`, `min`, `mean`, `prod`, `sum`, `std`, `var`, `median`) for `Dataset` and `DataArray` consistent with the typing of most other...
### What happened? Reproducible example: ``` import xarray as xr import numpy as np # Create dataset data_vars = {'temperature':(['lat','lon','time'], np.random.rand(400,800,1000), {'units': 'Celsius'})} # define coordinates coords = {'time': (['time'],...
We can't open the IOOS New England triangular mesh ocean forecasts with Xarray because it doesn't understand their more complex CF vertical coordinate system. ```python import xarray as xr url='http://www.smast.umassd.edu:8080/thredds/dodsC/FVCOM/NECOFS/Forecasts/NECOFS_GOM3_FORECAST.nc'...