Examples of DRILSDOWN projects¶
Basic Examples¶
- Code route to capturing movies of multiple regions in an IDV bundle
- Note: may take a few minutes, during which time if ties up your IDV session
- Code route to displaying a list of RAMADDA resouces
- See the 0:59 YouTube video intro that uses this notebook.
- Documentation is here, from this github code repo.
- Sections
- Code route: You can also get a GUI display of a set of IDV bundles using this example
- 1. Installand learn to operate the IDV: Consider my IDV intro .ppt, or Unidata’s documentation and tutorial.
- 2. Launch the IDV on this machine (from your Control Panel, or manually).
- 3. Display something meaningful in the IDV.
- The cells below capture your IDV session’s images and movies
- For exact replicability, capture a <1 MB sized IDV state bundle and embed it in this notebook
- Reading from IDV: example is here with key lines below, commented out
- Writing data into the IDV session: example is here
- using our new .to_IDV() method in xarray
- Everything in RAMADDA is an entry, with an entry type.
- A DRILSDOWN Case Study folder contains a .ipynb notebook, a .zidv or .xidv IDV bundle, and any other files.
- idv_teleport
- ramadda_publish
- Reading IDV data into this notebook as a netCDF variable
- Extract the data from .zidv bundles into Python xarray
- Examples: Loading data from python into IDV
- Example 2
- Example 3
- Vertical integral – not working
- You can call ipython_IDV without its widget Control Panel
- Then, if you want the Control Panel interface later, just call it
- See the 0:59 YouTube video intro that uses this notebook.
- Documentation is here, from this github code repo.
- Sections
- Code route: You can also get a GUI display of a set of IDV bundles using this example
- 1. Installand learn to operate the IDV: Consider my IDV intro .ppt, or Unidata’s documentation and tutorial.
- 2. Launch the IDV on this machine (from your Control Panel, or manually).
- 3. Display something meaningful in the IDV.
- The cells below capture your IDV session’s images and movies
- For exact replicability, capture a <1 MB sized IDV state bundle and embed it in this notebook
- Reading from IDV: example is here with key lines below, commented out
- Writing data into the IDV session: example is here
- using our new .to_IDV() method in xarray
- Everything in RAMADDA is an entry, with an entry type.
- A DRILSDOWN Case Study folder contains a .ipynb notebook, a .zidv or .xidv IDV bundle, and any other files.
- idv_teleport
- ramadda_publish
- Python to IDV
- IDV to Python
- Demonstrate xarray.from_zidv() method
Atmospheric (observed): What do clouds look like where they are acting to increase the water vapor?¶
One example of “drilling down” is to view satellite imagery around places where interesting quantitative meteorology is diagnosed. (This example)[https://github.com/Unidata/drilsdown/tree/master/UseCase_Examples/WaterVaporTendencies] constructs URLs to a NASA imagery server, from the date and time information around extreme values of a Lagrangian water vapor tendency.
The next level of scientific inquiry here is to call up a vertical sounding display, from a global 3D meteorological analysis, in either the IDV or a Jupyter Python session.
These headers within the .ipynb notebook may help clarify the workflow:
Atmospheric (observed): How do watervapor “islands” last long over the dry western-equatorial Indian Ocean?¶
Over the western equatorial Indian ocean, which is usually dry, there are occasional periods when filaments or “islands” of water vapor in the atmopshere are brought by the winds. These last surprisingly long, even as rain acts to remove the vapor. We wanted to study several such instances using vertical profile probes and column water vapor maps over region bounded by 17, 36 ; -15, 90 (North , West ; South, East).
A list of begin and end dates was supplied by by Dr. Matt Igel of UC-Davis, based on his blob-tracking results applied to column water vapor (CWV).
A script is generated to teleport the simple IDV bundle to a zidv bundle comprising of 3D data from two reanalysis for the lat-lon bounding box 17 - 36 , -15 - 90 (North - West ,South - East).
Generated teleport bash script was run in a headless linux environment to generate zidv files. These zidv case files are then published to RAMADDA server using following command:
ramadda_publish 'Igel_WEIO*.zidv' a4154517-ac1c-4eb4-b842-572cb55ce1f2 -a 'Igel_WEIO*.gif' -username user -password pass
Links for these command line utilities: IDV_teleport , RAMADDA_publish
Atmospheric (complex, simulated): What is going on in areas where small scales are adding energy to the large-scale flow?¶
In this project, a global model with 7km mesh produced an enormous dataset including vertical flux of horizontal momentum (u’w’ and v’w’). The notebooks below show some “drilling down” results.
These headers within two of the .ipynb notebooks in examples/MomentumFlux_in_GlobalCloudmodel show the workflow:
- Sections
- Sections
- Open your 3D data set for a case, as an xarray dataset object
- Subset data in time and space if desired before lazy read
- Merge total fields (U,V,W) with total flux (UW, VW, UV) as a Geoview (Holoview) Image object.
- Geoviews multiple-displays creation. So simple!
- G5NR_utils.py has computations with 7km gridded u,v,w inputs
- Make a Geoviews Dataset, and 6 Images, for subgrid (prime) terms
- Geoviews display for the subgrid scale filtered (“eddy”) products:
- Sections
- Open your 3D data set for a case, as an xarray dataset object
- Geoviews display for the subgrid scale filtered (“eddy”) products:
- Part of this nbviewer repo
Atmospheric: Weather events case studies.¶
- Global: GFS analyses at 1 degree (500mb Z and vorticity)
- Regional: GEOS-5 analyses at 1/4 degree and surface stations
- Sections within this notebook
- Loop without annotation
- Notebook from the Earthcube-supported DRILSDOWN project
- Notebook from the Earthcube-supported DRILSDOWN project
- Sections within this notebook
- The 500 mb heights
- Tell the story
- Meaning: