Questions tagged [xarray]

xarray is a Python module for working with N-dimensional arrays

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
19 views

Extract time series for features from large masked xarrays

I have done this before with GDAL and Python, but was hoping to be able to use xarray to scale things up. Let's say I have three datasets: 1. A large multiband geotiff where each band is a different ...
2
votes
0answers
48 views

How to slice a reduced gaussian gridded grib with xarray?

I want: to get list of coordinates of points within the specified area (ideal would be geopandas from shapefile or something like this) I don't want to interpolate the grib, just extract points by ...
1
vote
0answers
26 views

Cannot visualize xarray dataframe after converting to NetCDF

I am trying to convert sample.csv dataframe - link no NetCDF here is what I did import xarray as xr import pandas as pd dfcsv=pd.read_csv('sample.csv') dfcsv=dfcsv.set_index(['latitude','longitude','...
0
votes
1answer
69 views

Accessing Numpy Array found within an XArray from Satpy

dask.array<shape=(76, 76), dtype=float32, chunksize=(76, 76)> Coordinates: crs object +proj=utm +datum=WGS84 +ellps=WGS84 +no_defs +units=m +zone=33.0 +type=crs * y (y) float64 ...
0
votes
2answers
315 views

Extract latitude and longitude from rotated coordinate system

I'm new to working with geographic data so please bear with me. I have the following data: bnds,projection_x_coordinate,projection_y_coordinate,realization,fog_area_fraction,...
-1
votes
1answer
178 views

cartopy and xarray issues

I'm beginning to use netCDF4 data and therefore I have downloaded xarray and also cartopy (with pip). I have downloaded data from the climate data store and want to plot these data. I have a notebook ...