Hello,
I am trying to modify the value of a certain variable of wrfinput_d01 using NCL. For example, the following code:
----------------
a=addfile("wrfinput_d01","w"),
x =a->HGT
----------------
It returns the following error message:
----------------
fatal:["NclNetCDF4.c":3073]:NclNetCDF4.c: Error in nc_def_var_chunking in file (wrfinput_d01) for writing, at line: 3073
line 3074 of NclNetCDF4.c: NetCDF: Attempt to define var properties, like deflate, after enddef.
----------------
For read only mode (a=addfile("wrfinput_d01","r")), it won't cause any error.
I searched google, and learned that it probably owning to something like data format or compression format issues, but I am not sure.
Is there any solutions to this issue ?
I appreciate any response.
Jet
I am trying to modify the value of a certain variable of wrfinput_d01 using NCL. For example, the following code:
----------------
a=addfile("wrfinput_d01","w"),
x =a->HGT
----------------
It returns the following error message:
----------------
fatal:["NclNetCDF4.c":3073]:NclNetCDF4.c: Error in nc_def_var_chunking in file (wrfinput_d01) for writing, at line: 3073
line 3074 of NclNetCDF4.c: NetCDF: Attempt to define var properties, like deflate, after enddef.
----------------
For read only mode (a=addfile("wrfinput_d01","r")), it won't cause any error.
I searched google, and learned that it probably owning to something like data format or compression format issues, but I am not sure.
Is there any solutions to this issue ?
I appreciate any response.
Jet