Hi,
You will have to save to a new file. By the way, if you are comfortable using netcdf4 the sparseness of your data allows it to be compressed very well (about a factor of 4)
save/deflate=1/shuffle/keep/ncformat=4/file=common.nc EMISS_AWB_BC_COMMON
Russ
On 04/08/14 18:31, Nitin Patil wrote:
Dear Russ,
Thanks for your quick reply. Can I save the Global file with India values mapped in it as an netcdf? Can you please tell me.
Many thanks
--Regards,Nitin Patil
On Mon, Aug 4, 2014 at 12:51 PM, Russ Fiedler <russell.fiedler@xxxxxxxx> wrote:
Hi,
Just use a mask to select the indian mask as follows
use global_T63.nc
use india_T63.nc
let mask = if EMISS_AWB_BC[d=india_T63] then 1
let EMISS_AWB_BC_COMMON = if mask then EMISS_AWB_BC[d=india_T63] else EMISS_AWB_BC[global_T63]
In fact you even need to create a mask
let EMISS_AWB_BC_COMMON = if EMISS_AWB_BC[d=india_T63] then EMISS_AWB_BC[d=india_T63] else EMISS_AWB_BC[global_T63]
Cheers,
Russ
On 04/08/14 14:19, Nitin Patil wrote:
Dear ferret users,I have to do some overlapping using nc files.
I have two netcdf files 1. over global and 2. over India with exactly same grid and same variable name.What I want to do is I have to overlab/replace India region values in global_T63.nc file using india_T63.nc netcdf values.Please find the attached files. Any help will be appreciated.--Regards,Nitin Patil