Re: gsn_csm_vector_scalar

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Sep 13 2011 - 13:21:06 MDT

I need to clarify an incorrect statement I made here: You *can* generate vector plots from data with 2D coordinate arrays.

What you can't do is use the internal triangular mesh code. This currently only works for contour plots.

--Mary

On Sep 13, 2011, at 9:40 AM, Mary Haley wrote:

> Ivica,
>
> If my understanding is correct, you want to create a vector plot from data that has 2D coordinates. You can't do this directly using gsn_csm_vector_scalar. I *believe* you will need to regrid or interpolate your data to a grid that is represented by 1D coordinates.
>
> Can you send us a copy of your script and data file? If so, please see the following for ftp instructions:
>
> http://www.ncl.ucar.edu/report_bug.shtml
>
> Thanks,
>
> --Mary
>
> On Sep 12, 2011, at 9:00 PM, Ivica Janeković wrote:
>
>> Dear all,
>> I have problem with displaying vector / contour plots of my model data
>> as I DO NOT want to have lon/lat and "map" features.
>> If I do not specify coordinates than it is plotted having x an y going
>> from 0 to number of x and the same for y.
>>
>> So, to summarize, I have SST, U and V at my model grid in meters X(2d)
>> and Y(2d) are coordinates of each points, similar like lon2d and lat2d
>> but now on model grid.
>> I want to plot SST and U and V vectors but having coordinates
>> specified via X and Y matrices.
>> like:
>> ; X2d are preloaded coordinates from my model similar for Y2d.
>>
>> SST!0="X"
>> SST!1="Y"
>> SST&X=X2d
>> SST&Y=Y2d
>>
>> Any help is appreciated,
>>
>> Thanks
>> Ivica
>>
>> --
>> ----------------------------------------------
>> Ivica Janekovic
>> Postdoctoral Research Associate
>> Department of Oceanography
>> University of Hawai'i at Manoa
>> Marine Science Building
>> 1000 Pope Road
>> Honolulu
>> HI 96822
>> -1- (808) 956-0245
>> ivica@soest.hawaii.edu
>> ----------------------------------------------
>> _______________________________________________
>> 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

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Sep 13 13:21:12 2011

This archive was generated by hypermail 2.1.8 : Fri Sep 16 2011 - 11:24:25 MDT