-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Algoa Bay Forecast] Model output web-visualizations #12
Comments
@mattcarr03 - any ideas/other input is welcome! |
Those sound great! I think what would be cool as well is the current speed and direction. The speed can be added as a variable in the post processing script (calculated u and v ). The it can be added on as a layer like the temperature. What is really cool is if we could get animated velocity vectors. I used this package for the previous site (https://github.com/onaci/leaflet-velocity). Which is a leaflet package but I'm sure there are openmaps packages as well. There is also an ERSI package (https://github.com/Esri/wind-js). Not sure how difficult it is to implement, I was creating json files from the data to do this but there is probably a better way forward Really looking to to seeing the visualisations! |
Just saw this from a quick google search openlayers/openlayers#9947 maybe it isn't straight forward in open layers but possible |
Okay - noted on the vector layer. Here is a nice vector layer example in openlayers on that thread. openlayers/openlayers#9947 (comment). could that work? Could always use both leaflet and openlayers for different visualizations |
…ng the netcdf data into postgis for visualization (#12). There are now two 'modes' of operation: "transforming" the model output and "loading" the transformed output somewhere else. The load will likely be a gdal call or two (TBD)
This is the print of the current netcdf file that i will use as a the basis for all visualizations @mattcarr03 It's actually a fairly large file (2.4GB so far). so if it's possible to get the current speed (or is it velocity?) from the u / v variables, then that would be better than expanding the file size. how can the current speed be calculated?
|
…and on all variables in the processed netcdf model output. The current approach is to register out-db rasters into a single postgres table, that i can then push/shove into a polygon view for geoserver (#12)
…ng "load" step, though I'm not sure how this will work specifying an out-db raster... TBC (#12)
- Removed nodemon from dev tooling (was conflicting with chomp dep watching, and is likely not required any more with prettier --cache flag) - Updated site settings panel to load mui components lazily - Updated suspense loading to allow for either linear or circular loading animations
(1) #12 Combined the model output post processing job with the job for loading the output to postgres (since these scripts are now the same cli) (2) Added code to test that PG env is being loaded correctly into the runner workflow
… variable. And started experimenting with raster union functions to produce a vector contour. However.. the srid is not set for the grid (obviously). so TBC. #12
…n nginx proxy. And added a vector tile service to proxy the postgres db so that vector-tile maps can be provided (#12)
…ations page - test to see that I can thread geometry through the server to the client (#12)
…phql api to resolve model ids to a specifid model (#12)
…lorer view to model view, converted the explorer view to use ESRI (#12)
…ry to return xyz points generically (#12)
…ve 3d coordinates but are not showing in 3d (#12)
…P on SQL loading many points. Got 3d points for single model layer to display on the web UI (#12)
…ots actually). Updated toolkit cli to load all depth level values at all timesteps into the postgres database (#12)
…o see if zarr data can be retrieved directly via javascript (#12)
… executions rather using python multiprocessing module. This should make the posgis load work, whereas previously it took too long to run (#12)
… working on getting time values through to db (#12)
…ted the contour coloring to use d3 (#12)
…n database. should support easily showing the false bay model (#12)
…d depth is below surface level, and also improved performance slightly via reducing number of geo transforms (#12)
The model output includes a NetCDF file with a 'normalized' grid (lat/lng coordinates in the center of the grid box) and with a subset of the variables that are of immediate use.
Variables:
Dimensions:
Some visualization ideas:
Temperature
-- Can the depth at which the temperature contours are derived by configurable?
-- Would it be useful to 'average' out the water column to create temperature contours that are an average of the whole/some of the water column (rather than just a specific level)
Salinity
TODO
The text was updated successfully, but these errors were encountered: