All Questions
7 questions
0votes
1answer
491views
How to use matplotlib.pyplot.contourf to plot a density array
I have an xarray Dataset called dens that I would like to plot. This is the Dataset: <xarray.Dataset> Dimensions: (time: 641, lat: 30, lon: 30) Coordinates: * time (time) datetime64[ns] ...
0votes
1answer
610views
how to adjust space between columns in xarray faceted plot with basemap?
I want to make a faceted plot using xarray. The problem occurs when I try to add a bassemap to each subplot using basemap. Too much space is put between columns. I have already tried plt....
0votes
0answers
117views
Optimization tips for fully automated, time-parallelized plotting of data from N-dimensional datasets
Task: produce plots (usually a combination of filled/non-filled contours) of some variables contained in dataset produced by numerical weather prediction models. This needs to be automated as new data ...
1vote
0answers
2kviews
How to mask out ocean areas from my Dataset using xarray, numpy and Basemap?
I have a netCDF file "VWC_95percentile_by_seasons.nc". It contains three dimensions seasons (DJF, JJA, MAM, SON), latitude and longitude and the variable name is VWC 95TH PERCENTILE. The variable is ...
1vote
1answer
3kviews
How to set a single title for facetted xarray plot?
I need to set a title for multiple plots each of which is drawn with Basemap. The souce data is an xarray's DataArray object. The code uses DataArray.plot() to draw multiple plots on a single figure. ...
2votes
1answer
760views
How to get Basemap to work with xarray plotting for time slices
I need to draw a xarray.DataArray object onto a shapefile with Basemap. The source data contains a few days' data. I would like each dataset to be drawn on the shapefile with Basemap. ... ... ...
1vote
1answer
960views
Interpolation between two xarray datasets with Basemap
I have two different xarray datasets that have different latitude/longitude grid resolutions. I want to regrid the one xarray with lower resolution to the same resolution as the one xarray with higher ...