Published July 10, 2024 | Version v1

ncompare: A Python Package for Comparing netCDF Structures

  • 1. NASA Langley Research Center, Atmospheric Science Data Center, Hampton, VA, USA, Booz Allen Hamilton, Inc.
  • 2. NASA Langley Research Center, Atmospheric Science Data Center, Hampton, VA, USA, Adnet Systems, Inc.
  • 3. Openscapes, Santa Barbara, California, USA
  • 1. GDI
  • 2. SLB
  • 3. University of North Carolina
  • 4. Curvenote
  • 5. Deloitte
  • 6. Aptos
  • 7. Arm

Description

As netCDF (Network Common Data Form) files are widely used in Earth science — with climate models, oceanographic or atmospheric reanalyses, and observational data — improved means of evaluating netCDF files can help enable a wide range of applications. We have developed a reusable open source approach through ncompare, which is a Python package for comparing netCDF structures. ncompare facilitates rapid comparisons by generating a formatted display of the matching and non-matching groups, variables, and associated metadata between two NetCDF datasets. The user has the option to colorize the terminal output for ease of viewing, and ncompare can optionally save comparison reports in text, comma-separated value (CSV), and/or Microsoft Excel formats.

Files

Poster_for_SciPy_July2024_ncompare.pdf

Files (3.0 MB)

Name Size Download all
md5:2aa73662a55f46c99303746071a74125
3.0 MB Preview Download