Reading-eScience-Centre / edal-java

Environmental Data Abstraction Layer libraries
Other
39 stars 30 forks source link

How to do contouring at an interval #127

Closed ghansham closed 4 years ago

ghansham commented 4 years ago

Dear Sir

If I have data with range (90, 380) and I want to contour at every 30 interval. Because we have only option to set number of contours. Due to rounding off errors, it plots at an interval of 29. One option could be we can specify the interval as part of sld which can override the number of levels (if provided). Second option, we can specify the list of values over which we can contour.

Second option will be more flexible as we can contour at irregular intervals also.

Ghansham

guygriffiths commented 4 years ago

Just set the COLORSCALERANGE to values whose difference divides by 30, e.g. COLORSCALERANGE=90,390.

ghansham commented 4 years ago

Ok

On Tue, Jun 2, 2020, 14:38 Guy Griffiths notifications@github.com wrote:

Closed #127 https://github.com/Reading-eScience-Centre/edal-java/issues/127.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Reading-eScience-Centre/edal-java/issues/127#event-3396655554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYXFJHUFFWZUGKTONOA5O3RUS6P3ANCNFSM4NNBZC2Q .