[gradsusr] Google maps KML

Mike Manning michael at bsch.com.au
Thu Jul 9 03:04:50 EDT 2015


No worries,

 

I just had a brainstorm and got it sorted - I changed my ccols and clevs to
the following:

 

'set clevs -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 50'

'set ccols 50  51 52 53 54 70 55 56 57 58 59 -1 -1'

 

 

So anything above 1 will be set to a value of -1 which is transparent.
Working a treat now! I just gotta work out transparency then will be good to
go.

 

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:55 PM
To: GrADS Users Forum
Subject: Re: [gradsusr] Google maps KML

 

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
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/20150709/c2ffd6aa/attachment.html 


More information about the gradsusr mailing list