-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add HOTSSea physical oceanographic model for the Salish Sea #58
Comments
Workflow and next steps (summarising chat with Greig): We are sure the interpolation procedure (in Travis makes a grid in So, need to do something similar for hotssea, and do a 1500 m grid.
|
Almost got the plotting working, think the coverting into R is good.
|
More notes from Teams before they helpfully disappear: Lats and lons in .nc files are centres of the grid. Figuring out Travis's method, we think: Have to trace through code to see where grids get made. Greig: Until I get the interpolation stuff working more precisely, 0 to 4 m will actually be more like 0 to 4.11 metres and 0 to 30 will be 0 to 31.2 m (for help file, but may get corrected anyway). |
|
Regarding the new grid, we had said (top of this issue) that " it might not matter if the BCCM grid and yours do not exactly mesh up.". Turns out, talking to @ecophilina, that it would really help if the grid does line up with the BCCM grid, for doing spatiotemporal analyses.
|
I think it's fine to coarsen the hotssea outputs to 2 km and try to match the exact grid spacing as bccm. If they have to match then I think coarsening is better than down-scaling. I think there may be a couple ways to achieve making processed hotssea outputs be on the exact same grid_26 grid, and @andrew-edwards might have a better approach than this. But one way might be to create an alt point2rast function (eg point2rast_tbb) that can accept an alternative SpatialObj with which to derive an alternative bounding box (var is 'tbb' in point2rast). My guess is that this SpatialObj would need to be derived from the raw bccm data, ie a 'tdat_sf' object in roms-data-interpolation.R ... but maybe it could be the grid_26 itself. This would set the bounding box for terra::rast() to be artificially large while passing this function only the data from hotssea. The resulting raster would be on same grid as grid_26. Then, the hotssea data gets cropped (as the code already does) before exporting as a pacea data class. Again, maybe there is an easier way. |
I've revised my thinking here and want to double-check re-interpolating to a different grid resolution is necessary. @ecophilina has two issues: (1) points for oisst vs polys for bccm and (2) different grid resolutions. I think resolving (1) is a good idea. I think changing the resolution for all datasets to a common one (2) is not a great approach. Instead, a vignette to show users how they may re-interpolate to a grid they choose as the need arises would suffice. |
That said, there are good reasons for a common (and nested) grid setup! So, I'm happy to help get that done. |
Key bits of discussion with Greig Oldford, @goldford. I think @elisekeppel is one person who would be interested.
Hi Andrew,
We have the HOTSSea model paper almost through peer review and now some DFO salmon researchers want to make use of the outputs. Do you think I could process them like Angelica's BCCM model and get them loaded into PACEA? I could do the processing on my end if there's space there.
HOTSSea v1 is a NEMO-based model for the Salish Sea which has been evaluated for Canadian waters. It fills a niche between the high resolution SalishSeaCast and the lower resoluton BCCM. horizontal resolution is 1.5 km^2 and it's been run from 1980 - 2018. We plan an update from 2019 to present and an extension backwards eventually to 1950.
GMDD - HOTSSea v1: a NEMO-based physical Hindcast of the Salish Sea (1980–2018) supporting ecosystem model development (copernicus.org)
--
Hi Greig, absolutely, this sounds excellent.... We can use the same infrastructure in pacea that we have for Angelica's model, though we set up a grid for that that did not go into Salish Sea. Yes, it would likely take some wrangling on your end, depending on the format of your output. My postdoc Travis did this part of pacea (he doesn't work with me now and is currently away), but we have all the code. I need to do some similar things anyway (people have asked for Angelica's model output extending further south, which we have but just cut if off at the US border).
Be awesome to have the model extended to present and backwards to 1950. Having it in pacea would definitely make it more accessible to the biologists (since they generally use R).
--
Hi Andrew,
Our outputs are probably the same or similar but differ in the grid used. We don't use anything weird like an irregular triangulated grid - just the close-to-square grid cells (~1.5 km horiz).
I likely could interpret and revise the code he used to process the raw model outputs.
I do currently have several fields exported on our model grid, e.g., 3 day means of temps (depth integrated 0 - 4 m - and other depth strata).
--
We could maybe just stick with your ~1.5 km grid, to save any interpolation. Our current grid doesn't actually go into the Salish Sea, and it might not matter if the BCCM grid and yours do not exactly mesh up.
--
Next steps:
The text was updated successfully, but these errors were encountered: