require "numru/gphys"
include NumRu

gp = GPhys::IO.open "air.2012-01.nc","air"
gpmn = gp.mean(-1)

ofile = NetCDF.create "air.2012-01.monmean.nc"
GPhys::IO.write ofile, gpmn
ofile.close
