MATLAB on Openscapes

nasa-framework
blog
Accessing and Analyzing NASA Earthdata in the Cloud with MATLAB
Author

Lisa Kempler

Published

October 17, 2023

Lisa Kempler works at MathWorks as a Research and Geoscience Strategist. She supports research and educator communities seeking to integrate their platforms with software tools and resources that enable effective data access, computing, and results sharing and publishing. She regularly meets with research communities, including site developers and users of data and compute services, developing programs and working with teams to provide implementation and user support. Lisa attended Brown University, Boston University, and Northeastern University.

Quick links:


More and more data is being made available for users on NASA’s Earthdata Cloud platform. NASA Openscapes collaborates with a community of user-support staff across ten of the NASA Earth science Distributed Active Archives (DAACs), with the aim to help researchers transition their computational workflows to the Cloud using NASA Earthdata.

Through the NASA Openscapes Champions, an annual program that supports cohorts of science teams, a number of researchers expressed interest in using the data hosted on NASA Earthdata with MATLAB. The initial NASA Openscapes’ JupyterHub platform hosted by 2i2c, and tutorials, were Python-based. However, to make this transition, users need to be able to use software tools that are familiar to them that enable access to the data and can process it. The NASA Openscapes team reached out to MathWorks, developers of MATLAB, to support the effort to integrate MATLAB into NASA Openscapes JupyterHub and tutorials. The goal was to enable direct Cloud data access from MATLAB. 

Together, our two teams have successfully installed MATLAB on NASA Openscapes JupyterHub, visible in the screenshot below. It is now available for researchers participating in NASA Openscapes affiliated learning events to try out with Earthdata data. Researchers will “bring their own license” (BYOL) and will be prompted to input that information to access MATLAB.

JupyterHub interface with folders listing on left and launcher window on right including 3 rows of icons. Top row inludes MATLAB launcher

Two MATLAB computing options on the Openscapes 2i2c JupyterHub: Full MATLAB desktop (with IDE) and via a Jupyter Notebook interface.

The MATLAB implementation on Openscapes JupyterHub consists of

In addition, we’ve written a detailed tutorial to help users learn the system and process the data. The MATLAB tutorial from NASA Openscapes includes code examples, that cover:

Map showing sea surface temperature in yellow, green, blue. Heading 'sea surface temperature [kelvin]'; x-axis from 24 to 44; y-axis from -80 to -50

Map showing sea surface temperature created from HDF5 data with MATLAB contour() using the AWS console (screenshot from the MATLAB tutorial in the Earthdata Cloud Cookbook)

It’s new to work with NASA Earthdata on the NASA Openscapes JupyterHub, and even newer with MATLAB! We are excited that teams participating in the 2022 and 2023 NASA Openscapes Champions program are already logging into Openscapes and using MATLAB on the platform and continuing to push forward NASA Earthdata Cloud access through MATLAB. We will share more results on this work at the upcoming American Geophysical Union Fall Meeting on Tuesday, December 12. If you are interested in this work, please get in touch (lisak@mathworks.com).

To learn more about using MATLAB with data on NASA Openscapes, watch the video presentation to the NASA Openscapes Mentors or read the MATLAB Tutorial.

Acknowledgements: A special thanks to Erin Robinson of NASA Openscapes and Luis Lopez Espinosa of the National Snow and Ice Data Center (NSIDC) for their collaboration on the NASA Openscapes MATLAB implementation and their contributions to this blog post.

Footnotes

  1. Many universities and research institutes have site-wide licenses for MATLAB – called “Campus-Wide Licenses” and “Institute-Wide Licenses”, respectively. Most universities in the U.S. and Canada have CWLs. In those cases, all researchers, faculty and students have access to a MATLAB license via their institutions that work in this BYOL setup. Check with your university system administrators to find out if you have access to a MATLAB license at your institution.↩︎

Citation

BibTeX citation:
@online{kempler2023,
  author = {Kempler, Lisa},
  title = {MATLAB on {Openscapes}},
  date = {2023-10-17},
  url = {https://openscapes.org/blog/2023-10-17-matlab-on-openscapes},
  langid = {en}
}
For attribution, please cite this work as:
Kempler, Lisa. 2023. “MATLAB on Openscapes.” October 17, 2023. https://openscapes.org/blog/2023-10-17-matlab-on-openscapes.