[gradsusr] Google maps KML

James T. Potemra jimp at hawaii.edu
Thu Jul 9 02:54:43 EDT 2015


GrADS is picking up the grid size of your input data set.  I suppose you 
could use "lterp" with a fake grid that is really high res, make a new 
variable interpolated to that higher res, then display that.

On 7/8/15 8:41 PM, Mike Manning wrote:
>
> Hi Jim,
>
> Thanks for the feedback – Yeah I tried maskout originally however it 
> produced quite ugly results with jagged edges – Is there a way to 
> smooth the edges of maskout?
>
> Cheers, Mike
>
> *From:*gradsusr-bounces at gradsusr.org 
> [mailto:gradsusr-bounces at gradsusr.org] *On Behalf Of *James T. Potemra
> *Sent:* Thursday, 9 July 2015 4:25 PM
> *To:* GrADS Users Forum
> *Subject:* Re: [gradsusr] Google maps KML
>
> Hi Mike,
>
> I think the -poly option will produce transparency at missing values, 
> so you will need to set values that are currently displayed as grey to 
> "missing".  You can do this using the grads function "maskout".
>
> Jim
>
> On 7/8/15 7:09 PM, Mike Manning wrote:
>
>     Hi all,
>
>     I’m using a grads script to generate a KML file that I am using on
>     Google Maps using the ‘set kml –poly’ option.  I’ve set clevs and
>     ccols using custom colours:
>
>     'set clevs -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0'
>
>     'set ccols 50  51 52 53 54 70 55 56 57 58 59'
>
>     This is for lifted index, so I only want to display from -10 to 0
>     on the chart which it does but the problem is that ugly grey
>     background that I can’t get rid of.  Does anyone know a way around
>     this or is it a glitch in Grads with KML that I just have to put
>     up with when using –poly?
>
>     Cheers, Mike
>
>
>
>
>     _______________________________________________
>
>     gradsusr mailing list
>
>     gradsusr at gradsusr.org  <mailto:gradsusr at gradsusr.org>
>
>     http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150708/edbbf54b/attachment.html 


More information about the gradsusr mailing list