You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can identify the edge1_coordinates coordinates with sgrid.edge1_coordinates, but the actual data is associated with the original model name (in ROMS case sgrid.lon_u).
Unless I am missing something if someone wants to create a "generic" grid reader we must do:
If I get what @kwilcox is doing he puts all edge variables into the grid center using pysgrid.processing_2d. Which is a good decision since sci-wms focus is to serve a visualization layer.
My concern is to provide a low level API to analyse variables at the edges. Some modelers do desire that feature. See this quote from the ROMS forum:
It is more physical to draw vectors at PSI-points. It will be consistent with the physical boundaries of the domain. It will also show the behavior around Land/Sea masking, if any.
We can identify the
edge1_coordinates
coordinates withsgrid.edge1_coordinates
, but the actual data is associated with the original model name (in ROMS casesgrid.lon_u
).Unless I am missing something if someone wants to create a "generic" grid reader we must do:
@ayan-usgs Is that correct? Maybe instead of
sgrid.lon_u
andsgrid.lon_v
we should have asgrid.edges
.@rsignell-usgs Are you using pysgrid in production? How do you read your grids?
The text was updated successfully, but these errors were encountered: