# Open remote dataset to variable db
= ov.LoadDataset(f"http://atlantis.sci.utah.edu/mod_visus?dataset=nex-gddp-cmip6")
db # read data into a numpy array
=db.read(time=timestep, field=variable_name) data
It is easy to use the NEX-GDDP-CMIP6 data!
Preface
This book documents a set of simple python tools to easily access and, most importantly, use the NEX-GDDP-CMIP6 data in a simple way that does not require bulk dowloads of many large netcdf files.
In short a user can directly “open” a remote dataset in a Jupyter notebook and immediately process it or visualizate it with standard python libraries like Numpy
and matplotlib
as shown in Figure Figure 1.
In particular, loading the dataset diaplayed in Figure 1 requires only the following two lines of Python code:
The full Jupyter notebook for this example is provided in 5.0.1 Notebook Code and 3.0.1 Notebook Code.