Manipulation of netCDF files using nco

Table of Contents

Introduction

NCO is a netCDF operator used for extracting sub-domain of NetCDF file.

Install

Installation for RHL, including Scientific Linux, CentOS is easy.

# yum install nco

Examples

Extracting data by time and/or variable

$ ncks -d time,0,10 tst_0001.nc output.nc
  • -d time,0,10: extracting by dimension "time" from array index 0 to 10 (11 time steps)
  • tst_0001.nc: input netcdf file
  • output.nc: output netcdf file
$ ncks -d time,0,10 -v zeta tst_0001.nc output.nc
  • -v zeta: extracting dependent variable "zeta"

Manipulation of netCDF files using nco” に対して1件のコメントがあります。

コメントは受け付けていません。