Hi Eric,
If all you want to do is plot the data, you don't need to regrid it. If you
attach the lat & lon arrays to your y1 variable as @lat2d and @lon2d
attributes, you should be able to pass y1 to gsn_csm_contour_map_ce as-is.
For a more elaborate example, here's the general-purpose script that we use for
plotting NARCCAP data during the quality-checking process:
http://www.narccap.ucar.edu/contrib/tools/plot.ncl
The triple2grid function reassigns each of the input points to the nearest
output gridcell, which is almost certain to produce gaps unless the output
gridcells are bigger than the average spacing of the input data. If what you
want is to fill in a regular lat/lon grid at some arbitrary resolution using
values based on data from a curvilinear grid, then I would suggest using an
interpolation function like rcm2points instead.
Cheers,
--Seth
---- Seth McGinnis NARCCAP Data & User Community Manager Associate Scientist RISC / IMAGe / NCAR ---- >________________________________ >From: eric.holt@huskers.unl.edu >Sent: Saturday, September 18, 2010 1:24 PM >To: ncl-users@ucar.edu >Subject: NARCCAP Resolution Problem > >Hello, > >I am trying to simply plot winds from RCM3-cgcm3 and RCM3-gdfl solutions under >NARCCAP. I can run my code at 2 degree resolution, and my image is fine >(2reswind.pdf). However, when I run my code at 0.5 degrees, the plot displays >choppy data, or none at all (pt5reswind.pdf). This has been bugging me for a >while now, can anyone provide a tip on why this is, and what I can do? It >would be much appreciated. Thank You! > _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Mon Sep 20 16:07:40 2010
This archive was generated by hypermail 2.1.8 : Mon Oct 04 2010 - 08:55:55 MDT