New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolution problem #7

Closed
Jeffreydaw opened this Issue Jul 7, 2017 · 7 comments

Comments

Projects
None yet
3 participants
@Jeffreydaw
Contributor

Jeffreydaw commented Jul 7, 2017

At areas where there is a high gradient on the map there is sometimes some blotchiness that can be seen.

Details
This needs to be investigated further but at times it can be seen that the colors in the map seem to be many overlaying circles where the centers of the circles are a darker color and there is a color gradient that comes out from the center. The fix to the problem may be as simple as to turn the resolution up but it should be determined and documented how the pixel rendering is done.

little dots from far out

close zome problem

circle problem 1

circle problem 2

and where the offset problem in the southern hemisphere (issue #4 ) is present there cycles are more clear.
circle problem 3

note: you must press auto and or play with the range settings to see the effect since the range settings are not saved by the link.

@Jeffreydaw

This comment has been minimized.

Contributor

Jeffreydaw commented Jul 25, 2017

it was suggested today in the meeting that we try changing the blur from a Gaussian blur to some other blur. a different blur or blur value may reduce the problem.

@Jeffreydaw

This comment has been minimized.

Contributor

Jeffreydaw commented Jul 26, 2017

here are 2 other examples that help to highlight the problem
PEI to see the effect set the varible Range to Min = 21.834, Max = 21.949 setting the Min to 21.934 also produces an interesting result.
vertical line of circles

@Jeffreydaw

This comment has been minimized.

Contributor

Jeffreydaw commented Jul 28, 2017

As per our discussion with Geoff, This problem is a factor largely of the resolution of the source data, the other data is not much better resolution than what we show. And because the data source uses a different mapping system then we can on the web (not an x,y system) there are some problem areas.

The circles are drawn not as circles. they are a result of the fact the map view looks for nearby data points and does some math to figure out what data points should have the most weight based on how close they are. if there is only 1 within range weird circles tend to appear. This can also cause the data to be picked up across land boundaries when they are thin. This is a problem in and of its self (see bug #45.)

Is this a bug worth fixing

@Jeffreydaw

This comment has been minimized.

Contributor

Jeffreydaw commented Sep 25, 2017

after talking with people at the conference last week I think that bicubic interpolation may not be that much of a drain on our system

@nsoontie

This comment has been minimized.

Contributor

nsoontie commented Jan 18, 2018

The circles show up when the number of interpolated grid cells is much bigger than the number of original grid cells. Otherwise, the interpolation looks gridded (see Grid size section of this notebook ). Matplotlib's imshow can smooth the gridded look using the interpolation key word.

My thoughts were to have an interpolated grid that depends on the size of the original grid and then use imshow to produce the image. But I don't see how this can work with the tiles and would make things difficult for comparing between models of different resolution.

Other suggestions: switch to a different interpolation package
https://www.earthsystemcog.org/projects/esmpy/
http://xesmf.readthedocs.io/en/latest/

Or use @htmlboss 's Gaussian interpolation for the tiles and/or user selected interpolation.

@htmlboss

This comment has been minimized.

Contributor

htmlboss commented Jan 24, 2018

So I've supposedly finalized the feature to select/tweak the interpolation stuff in the front-end. I also have an experimental layout for the left sidebar. I've tested most things and nothing appears to be broken. Wouldn't mind some more testing: http://fbi-surveillance-van:5000/public/

@htmlboss

This comment has been minimized.

Contributor

htmlboss commented Feb 14, 2018

#49

@htmlboss htmlboss closed this Feb 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment