We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refer to #671
This GitHub issue was just opened for tracking on the board project.
No response
The text was updated successfully, but these errors were encountered:
Using the spatial functionality, I started an example of how we might approach this goal with a new branch.
spatial
import xcdat as xc fn = '/p/css03/esgf_publish/CMIP6/CMIP/MIROC/MIROC-ES2L/historical/r6i1p1f2/Amon/tas/gn/v20200318/tas_Amon_MIROC-ES2L_historical_r6i1p1f2_gn_185001-201412.nc' ds = xc.open_mfdataset(fn) tas = ds('tas') tas.spatial.average()
<xarray.DataArray 'tas' (time: 1980)> Size: 16kB dask.array<truediv, shape=(1980,), dtype=float64, chunksize=(1,), chunktype=numpy.ndarray> Coordinates: time (time) object 16kB 1850-01-16 12:00:00 ... 2014-12-16 12:00:00 Attributes: standard_name: air_temperature long_name: Near-Surface Air Temperature comment: near-surface (usually, 2 meter) air temperature units: K original_name: T2 cell_methods: area: time: mean cell_measures: area: areacella history: 2019-12-27T22:22:52Z altered by CMOR: Treated scalar dime...
<xarray.DataArray 'tas' (time: 1980)> Size: 16kB dask.array<truediv, shape=(1980,), dtype=float64, chunksize=(1,), chunktype=numpy.ndarray> Coordinates:
Sorry, something went wrong.
Using the spatial functionality, I started an example of how we might approach this goal with a new branch. import xcdat as xc fn = '/p/css03/esgf_publish/CMIP6/CMIP/MIROC/MIROC-ES2L/historical/r6i1p1f2/Amon/tas/gn/v20200318/tas_Amon_MIROC-ES2L_historical_r6i1p1f2_gn_185001-201412.nc' ds = xc.open_mfdataset(fn) tas = ds('tas') tas.spatial.average() <xarray.DataArray 'tas' (time: 1980)> Size: 16kB dask.array<truediv, shape=(1980,), dtype=float64, chunksize=(1,), chunktype=numpy.ndarray> Coordinates: time (time) object 16kB 1850-01-16 12:00:00 ... 2014-12-16 12:00:00 Attributes: standard_name: air_temperature long_name: Near-Surface Air Temperature comment: near-surface (usually, 2 meter) air temperature units: K original_name: T2 cell_methods: area: time: mean cell_measures: area: areacella history: 2019-12-27T22:22:52Z altered by CMOR: Treated scalar dime...
This is awesome! I'll take a closer look soon. Happy to see you got a working prototype.
Successfully merging a pull request may close this issue.
Is your feature request related to a problem?
Refer to #671
This GitHub issue was just opened for tracking on the board project.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: