[Geoserver-users] How to create wind speed animation?

Hi everyone!
I have a netCDF file containing wind speed data with 6 hours interval time sets. I’d like to generate set of images that represent interpolated wind speed every hour. How to achieve that?

Later I’d like to request this images via WMS and create smooth an animation in mapbox and place it on a web page. I’m new in the world of maps and geosolutions, so I’m not sure if the set of tools that I’ve chosen is the best to achieve this. Perhaps someone could advise on something better?

Kind regards,
Marcin Styczen

Marcin,

These are the first things that come to mind, and is where I would start if I were trying to solve this problem, but they may not work.

For the netCDF file, you will want to add the netCDF plugin developed by GeoSolutions.

First, on the interpolation, you’ll obviously need to closely consider your interpolation algorithm. This is really a non-GeoServer decision … really a scientific one. You would want to look into some journal articles on Temporal Interpolation of Wind, such as http://journals.ametsoc.org/doi/abs/10.1175/2008JTECHO588.1. Now, I hope I don’t insult your intelligence with this suggestion … I don’t know your background. You may be a meteorologist or otherwise know this already … but just wanted to cover the bases here.

I don’t know if you have a static dataset or dynamic dataset, but one possibility would be to execute your interpolation outside of GeoServer and create new netCDF files that already contain the interpolated data. That way, you have a pre-populated dataset that already has your wind speed data for every hour. Then, your WMS requests would become much easier … just requesting each hour individually and animating them externally in your app … or asking GeoServer for a pre-generated animation using a time range. If I were implementing this system, this is probably what I would do.

If you always want to do the interpolation on-the-fly, it feels like the GeoServer WPS plugin plus custom WPS process code might help you. You would want the WPS to take 2 rasters as the input and an integer hour for the output and have your custom WPS process contain your chosen interpolation algorithm. This might prove more computationally expensive, though, than pre-generating the interpolated data … depending on the algorithm.

Since you said you’re new to all of this, you might think about getting some commercial support for your project. GeoSolutions (http://www.geo-solutions.it/) is a principal GeoServer/GeoTools development shop and has been leading the way in a lot of the meteorological data support improvements in the software. I have done a tiny little bit of work with them on that, and they’re great to work with. Tell them I sent you.

Sincerely,

Mike Grogan
Meteorologist / Systems Architect

···

On Wed, Dec 24, 2014 at 5:10 AM, marcin <styczoo@anonymised.com> wrote:

Hi everyone!
I have a netCDF file containing wind speed data with 6 hours interval time sets. I’d like to generate set of images that represent interpolated wind speed every hour. How to achieve that?

Later I’d like to request this images via WMS and create smooth an animation in mapbox and place it on a web page. I’m new in the world of maps and geosolutions, so I’m not sure if the set of tools that I’ve chosen is the best to achieve this. Perhaps someone could advise on something better?

Kind regards,
Marcin Styczen


Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users