Re: Calculate differences between two data sets

From: Jiang, Lifen <lfjiang_at_nyahnyahspammersnyahnyah>
Date: Wed Oct 09 2013 - 16:15:31 MDT

Dear Dennis,

Thank you for your reply!

Yes, nothing happened. No summary was printed and no output file. I tried your "dble2flt(f1->regrid)" but still didn't show anything.

I am really curious what was wrong.

Thanks again,

Lifen


2013-10-09



Jiang, Lifen



发件人: Dennis Shea
发送时间: 2013-10-09 17:02:21
收件人: Jiang, Lifen; ncl-talk@ucar.edu
抄送:
主题: Re: [ncl-talk] Calculate differences between two data sets
[1] Do you mean that none of the print(...) or printVarSummary(...)
     created output? That would be VERY strange.
[2] Your code should have 'worked' in the sense that the difference
     values are correct. However, there will be no meta data.
[3] Why ... no meta data? The reason is that 'doubletofloat' does
     not preserve meta data. Note the output from
         printVarSummary(t1) ; no meta data
     You should use:
         t1 = dble2flt(f1->regrid)
         printVarSummary(t1)
I think this should work.
Cheers
On 10/9/13 2:26 PM, Jiang, Lifen wrote:
> Hi NCL Users,
>
> I was calculating the differences at each grid between two data sets (both 180*360 for LAT and LON). However, there is no response (even no Error message) when I ran the code.
>
> I attached my data sets and code. I appreciate if anyone could help check the problems.
>
> Thank you in advance for your time!
>
> Best regards,
>
> Lifen
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Oct 9 16:15:49 2013

This archive was generated by hypermail 2.1.8 : Tue Oct 22 2013 - 10:35:27 MDT