Skip to content
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

How can we generate bilinear interpolation of netcdf data wms layer using dafault or sld #49

Open
chakravarthi-vl opened this issue Jan 9, 2020 · 7 comments

Comments

@chakravarthi-vl
Copy link


@chakravarthi-vl chakravarthi-vl changed the title How can we generate bilinear interpolation wms layer using this or sld How can we generate bilinear interpolation wms layer using dafault or sld Jan 9, 2020
@chakravarthi-vl chakravarthi-vl changed the title How can we generate bilinear interpolation wms layer using dafault or sld How can we generate bilinear interpolation of netcdf data wms layer using dafault or sld Jan 9, 2020
@guygriffiths
Copy link
Collaborator

You can't. ncWMS reads data in a nearest-neighbour fashion onto an image grid. By the time any SLDs are applied, the data has already been quantised, with no chance of interpolation.

@chakravarthi-vl
Copy link
Author

Ok, is there any way we can get smooth curves rather than grid box in wms layer?

@guygriffiths
Copy link
Collaborator

No, ncWMS is really designed to quickly and accurately display data. If data appears blocky, it's because the data is blocky. The only way to get smooth data is to use underlying data which is of a high enough resolution.

@chakravarthi-vl
Copy link
Author

Ok Thanks, May I know what is the smallest possible grid size to convert blocks to curves.
Is there any WMS server that you know which will give smooth curves from grid data.

@guygriffiths
Copy link
Collaborator

I'm not sure I know what you mean. If you are plotting no more than 1 pixel per grid data point, an image will appear smooth. If each grid data point corresponds to multiple pixels, it will look blocky. The numbers will depend entirely on the underlying resolution and the area being visualised.

I think Geoserver has some interpolation abilities, but it can't directly plot NetCDF as far as I'm aware.

@chakravarthi-vl
Copy link
Author

chakravarthi-vl commented Jan 10, 2020

Hi Thanks for Reply,
I want to develop like https://www.windy.com from NetCDF file's, If you know any procedure or server let me know

@guygriffiths
Copy link
Collaborator

What's your purpose for such an application? I'm currently working for https://www.the-iea.org/ and continuing ncWMS support on the side. If your organisation has any funding available we might be able to produce something like that (at least a working prototype), but I don't have enough free time to develop that in my own time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants