It is easy to use the NEX-GDDP-CMIP6 data!

Author

Aashish Panta, Valerio Pascucci, Luis Sanchez, Giorgio Scorzelli

Published

October 31, 2024

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.

Figure 1: Immediate viasualization of a timestep of the NEX-GDDP-CMIP6 data wihout any bulk data download.

In particular, loading the dataset diaplayed in Figure 1 requires only the following two lines of Python code:

# Open remote dataset to variable db
db = ov.LoadDataset(f"http://atlantis.sci.utah.edu/mod_visus?dataset=nex-gddp-cmip6")
# read data into a numpy array
data=db.read(time=timestep, field=variable_name) 

The full Jupyter notebook for this example is provided in 5.0.1 Notebook Code and 3.0.1 Notebook Code.