Making a subset netcdf file

From: Tabish Ansari <tabishumaransari_at_nyahnyahspammersnyahnyah>
Date: Tue Mar 18 2014 - 02:29:01 MDT

Hello

I wish to retain only a few variables (mostly 4d and 3d) out of my wrf
output (wrfout.nc) netcdf file. Originally is carries a lot of variables
which I do not need.

I know that there is a way to recompile WRF to output fewer variables but
my requirements change with every simulation. So I need a methodology
wherein, once the full netcdf file has been written out, I can create a
subset nc file with only the variables of my interest so that it doesn't
occupy too much space on disk. Currently one file is 200GB!

Apart from the variables, I would also like to retain the global attributes
(the metadata) of the original nc file.

Is there a way to achieve this in NCL or otherwise?

-- 
Thanks & Regards
Tabish Umar Ansari
MS Research Scholar
Environmental & Water Resources Engineering Division
Department of Civil Engineering
IIT Madras

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Mar 18 02:29:13 2014

This archive was generated by hypermail 2.1.8 : Fri Mar 21 2014 - 15:49:21 MDT