Skip to content Skip to sidebar Skip to footer
Showing posts with the label Python Xarray

Randomly Mask/set Nan X% Of Data Points In Huge Xarray.dataarray

I have a huge (~ 2 billion data points) xarray.DataArray. I would like to randomly delete (either m… Read more Randomly Mask/set Nan X% Of Data Points In Huge Xarray.dataarray

Python Extract Multiple Lat/long From Netcdf Files Using Xarray

I have a NC file (time, lat, long) Download from here and I am trying to extracting time series of … Read more Python Extract Multiple Lat/long From Netcdf Files Using Xarray

Can I Create A Multivariate_normal Matrix Using Dask?

Somewhat related to this post, I am trying to replicate multivariate_normal in dask: Using numpy I … Read more Can I Create A Multivariate_normal Matrix Using Dask?

Averaging 2 Decades Of Data On 6 Hourly Timestep Using Netcdf Data And Python

I have 2 decades of spatially variable wind data recorded at six-hourly intervals. I need to averag… Read more Averaging 2 Decades Of Data On 6 Hourly Timestep Using Netcdf Data And Python

Using Prophet On Netcdf File Using Xarray

I have a 'netCDF' file which I have read with xarray and I want to use to generate a foreca… Read more Using Prophet On Netcdf File Using Xarray

Xarray.open_mfdataset() Doesn't Work If Dask.distributed Client Has Been Created

I have a bit of a weird problem that I'd appreciate some input on. Basically, I'm running a… Read more Xarray.open_mfdataset() Doesn't Work If Dask.distributed Client Has Been Created

Xarray Annual Grouping Across Years

I am computing annual means of my data with: sst_ANN = ds['sst'].groupby(ds['time.year&… Read more Xarray Annual Grouping Across Years

Plotting 2d Data Using Xarray Takes A Surprisingly Long Time?

I am reading NetCDF files using xarray. Each variable have 4 dimensions (Times, lev, y, x). After r… Read more Plotting 2d Data Using Xarray Takes A Surprisingly Long Time?