[ncl-talk] How to merge .op files into one without change anything
Gus Correa
gus at ldeo.columbia.edu
Mon Dec 22 11:13:37 MST 2014
Hi Wen
It is hard to tell without knowing anything about your NCL script.
If you send your script it may help.
Here is a guess.
If you use "new" to create the 14975x5143 dimension output array,
force it to use the _FillValue that is on the file.
First check what that _FillValue is.
"printVarSummary()" on the input variable should tell.
Then try something like this, but adjust to your data type,
the actual fill_value_on_file, etc:
fill_value_on_file=1.e+36
output_var=new((/14975,5143/),float,fill_value_on_file)
I hope this helps,
Gus Correa
On 12/22/2014 12:56 PM, Wen.J.Qu wrote:
> Dear NCL colleagues,
> Happy holiday!
> I got a 14975x5143 deminsion array, I have written it into five .op
> files (14975x1000, 14975x1000, 14975x1000, 14975x1000, 14975x1143).
> How can I merge all these five .op files into one .op file without
> change the filling value (missing value) of the variables?
> I tried read them out and write them again, but the filling value
> (missing value) changed.
> Is there any easy way to deal with this?
> Thanks a lot in advance.
> Merry Christmas!
> Shawn
> ------------------------------------------------------------------------
> Wen.J.Qu
> 2014-12-23
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
More information about the ncl-talk
mailing list