Personal tools
You are here: Home CDAT Tips and Tricks File I/O Tips "Virtually" Concatenating NetCDF Files, using cdscan
Document Actions

"Virtually" Concatenating NetCDF Files, using cdscan

by Renata McCoy last modified 2005-10-26 15:58

Here we show how to concatenate NetCDF files without rewriting any data, simply creating a new "virtual" control file

  Table of Contents Previous Next
Contents Previous Next

Goal: Learn how to "virtually" concatenate NetCDF files in CDAT.

This is to be executed outside of python, before runnig a script.
We are assuming your python resides in /usr/local/cdat.
cdscan -x u.xml /usr/local/cdat/sample_data/u_*.nc
The newly genrated file: u.xml can now be accessed by python scripts and contains all the years spanned by u in files u_xxxx.nc


  Table of Contents Previous Next
Contents Previous Next

Powered by Plone