Re: area_conserve_remap_Wrap

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri Jul 18 2014 - 15:27:17 MDT

[1]
No idea what you mean by "...but the lat interval do not match the lat
intervals in the met file." To which 'met file' are you referring?

[2]
Since area_conserve_remap_Wrap is located in contributed.ncl, you can see
the code being used:

%> less $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
<http://www.ncl.ucar.edu/Document/Functions/Contributed/contrib.shtml>

Search for: area_conserve_remap_Wrap

The most pertinent part is ....

undef ("area_conserve_remap_Wrap")
function area_conserve_remap_Wrap (xi[*]:numeric,yi[*]:numeric, fi:numeric \
                                  ,xo[*]:numeric,yo[*]:numeric, opt)
---
[snip]
  fo&$fo!(nDim-2)$ = yo ; create coordinate var
  fo&$fo!(nDim-1)$ = xo ; two rightmost dimensions
^^^^^^^^^^^^^^^^^^^^^^^^
==================
These latter two lines are directly assigning what *you* sent in as
latitude ('yo') and longitude ('xo').

[3] Whenever a question a sent to NCL, please include the output from
'printVarSummary(...)'


On Fri, Jul 18, 2014 at 2:50 PM, Omary, Mohammad <omary@email.unc.edu>
wrote:

> All,
>
> I am remapping 1x1 degree (180x360 nlat/nlon ) global aircraft
> emissions. When I remap them to 96x144 (nlat/nlon) the program
> "area_conserve_remap_Wrap" runs fine and I get nc output but the lat
> interval do not match the lat intervals in the met file. To get the
> correct lat intervals I need to run "area_conserve_remap_Wrap" with 95x144
> (nlat/nlon). In this case the "latGlobeFo" gives me the correct lat, but
> the program "area_conserve_remap_Wrap" crashes" with:
>
> Error in "cremapbin":
> Could not map global lat array into grid array
> Abort
>
>
> Any help out there ?
>
> Thanks,
> MO
> -------------------
> Mohammad Omary
> Institute for the Environment
> University of North Carolina
> http://www.ie.unc.edu/cempd
> voice:951-789-6284
> omary@unc.edu
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

Received on Fri Jul 18 09:27:23 2014

This archive was generated by hypermail 2.1.8 : Wed Jul 23 2014 - 15:33:47 MDT