https://github.com/geoschem/netcdf-scripts
Convenience scripts for viewing and editing netCDF files
https://github.com/geoschem/netcdf-scripts
bash-script cf-conventions coards-conventions netcdf netcdf-validation
Last synced: 5 months ago
JSON representation
Convenience scripts for viewing and editing netCDF files
- Host: GitHub
- URL: https://github.com/geoschem/netcdf-scripts
- Owner: geoschem
- License: other
- Created: 2022-11-29T14:54:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-25T15:12:52.000Z (over 2 years ago)
- Last Synced: 2025-03-31T22:41:31.036Z (6 months ago)
- Topics: bash-script, cf-conventions, coards-conventions, netcdf, netcdf-validation
- Language: Perl
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](http://github.com/geoschem/netcdf-scripts/releases) [](https://github.com/geoschem/netcdf-scripts) [](https://doi.org/10.5281/zenodo.7377643) [](https://github.com/geoschem/netcdf-scripts/blob/main/LICENSE.txt)
# netcdf-scripts
This repository contains convenience scripts for viewing and editing netCDF files.
## Contents
All scripts are in the `scripts/` folder:
1. `isCoards`: Determines whether a netCDF file adheres to the COARDS netCDF conventions. This is required if the files are to be read by GEOS-Chem Classic or GCHP.
2. `nc_chunk.pl`: Deflates and chunks a netCDF file. See the [Work with netCDF files](https://geos-chem.readthedocs.io/en/stable/geos-chem-shared-docs/supplemental-guides/netcdf-guide.html#chunk-and-deflate-a-netcdf-file-to-improve-i-o) for more information.
3. `ncd`: Wrapper script for the `ncdump` command, which lets you view the header information of a netCDF file.
4. `time_units`: Wrapper script that allows you to reset the `time:units` attribute of a netCDF file.
5. `time_unlimited`: Wrapper script that allows you to set the `time` dimension of a netCDF file to `UNLIMITED`. NetCDF files must have an `UNLIMITED` time dimension before they can be concatenated with e.g. the NCO `ncrcat` command.