question to "ESMF_curv_to_1deg.ncl"

From: jingmin li <jingmin.li_at_nyahnyahspammersnyahnyah>
Date: Thu May 23 2013 - 04:32:54 MDT

Hello,

I have questions regarding to "ESMF_curv_to_1deg.ncl" on
http://www.ncl.ucar.edu/Applications/Templates/. Does it only work for
2D variables? How to modify the code to be able to do interpolation for
variables which have more than 2 dimensions.

I used it for a 3D variable, but get error "Number of subscripts do not
match number of dimensions of variables...". Then I specified the
variable var to var(0,:,:), it worked.

I have used "ESMF_WRF_to_rect.ncl" before, it did not have this problem.
I compared the 2 codes, and found the only difference is at the line
"Opt@SrcMask2D = where(.not.ismissing(var,1,0)".

With regards,
Jingmin

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 23 04:33:06 2013

This archive was generated by hypermail 2.1.8 : Thu May 30 2013 - 11:38:10 MDT