Re: Plotting CONUS data with NCL with only having the lat/lon points

From: James Scott - NOAA Affiliate <james.d.scott_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 08 2013 - 12:17:39 MST

Arthur,

You can't use "gsn_csm_contour_map" map with station data. It expects the
data to be on a monotonically increasing grid. You will have to
interpolate your station data to a regular lat/lon grid before using
"gsn_csm_contour_map". I recommend using the "natgrid" function to
interpolate.
http://www.ncl.ucar.edu/Document/Functions/Built-in/natgrid.shtml

-Jamie

On Fri, Feb 8, 2013 at 12:00 PM, <ncl-talk-request@ucar.edu> wrote:

> Hi,
>
> I am trying to plot observed rainfall data from the NOAA's River Forecast
> Center's website (http://water.weather.gov/precip/about.php). The original
> data came on an HRAP grid/format. It had to be decoded from a netcdf file
> to ascii text file. The text file gives the observed value of precip. for
> each lat/lon point. How can I plot data that only has it's lat/lon
> reference?
>
> The data looks like this with value being the precip. variable:
>
>
> "id", "hrapx", "hrapy", "lat", "long", "value"
> 0, 14, 10, 23.496319, -118.658440, -1.000000
> 0, 15, 10, 23.503891, -118.624420, -1.000000
>
>
>
> I tried putting the data into a netcdf file, then using the
> "gsn_csm_contour_map" function/tool to do it, but I got a segmentation
> fault error. I was using NCL 5.1.0, and saw that this NCL version can only
> handle variables no larger than 2 GB. So, I downloaded NCL version (6.1.1),
> and I still get the same error (segmentation fault). The size of each .nc
> file for the CONUS is 20507540 bytes which is not 2 GB.
>
> Do you have and insight as to how I could solve this issue? It does not
> seem hard to do.
>
> -Arthur Eiserloh
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Feb 8 12:18:14 2013

This archive was generated by hypermail 2.1.8 : Wed Feb 13 2013 - 09:25:58 MST