...
Metview provides a set of NetCDF handling macro functions, allowing users to apply a number of functions and operators to NetCDF data - see NetCDF Functions.
How operators and functions work on NetCDF
...
When two netCDF variables are involved, both files have to have the same number of data points in each current variable, as an operation between two netCDFs is carried out between each pair of corresponding data values. Thus :
nc3 = nc1+nc2 | corresponds to | for each data value i nc3i = nc2i + nc1i
|
nc2 = nc1+a | corresponds to | for each data value i nc1i = nc1i + a
|
nc2 = f(nc1) | corresponds to | for each data value i nc2i = f(nc1i)
|
NOTE : Like fieldsets, a netCDF resulting from an operation on two other netCDFs, will take the metadata (e.g. date, time, parameter, levels, ...) from the first netCDF.
...