-
Notifications
You must be signed in to change notification settings - Fork 7
VIMS SELFE problems continued #18
Comments
The reason these datasets are not working is that the NcML has u and v dimensioned as 2d variables (time, node) without the vertical dimension. I'm taking a look now. . |
@drf5n, is the vertical coordinate in these selfe run If there is in fact a |
I think the depth_c is 1000m for these runs. It could be much more awkward than that -- SELFE uses a hybrid S over Z coordinate, somewhat like http://cf-metadata.github.io/cf-conventions.html#_ocean_sigma_over_z_coordinate, but S rather than sigma. In this particular case, it was configured with the Z cutoff at 9000m, which, with a max depth of 8012.3 degenerates into a pure S, and h_c or depth_c is 1000m. Also, the new SELFE/SCHISM LSC2 scheme has a spatially-varying S over vanishing cells: http://ccrm.vims.edu/schism/paper-LSC2.pdf . These might fit into ocean_s_coordinate_g1 (_g3?) but with an explicitly spatially varying S(k,j,i) or S(k,node) field. |
Okay, fixing the reported problem was easy. It turns out the Selfe
which is incorrect for the 3D data. This was probably cut-and-pasted from a 2D run. We could fix this for the 3D runs by changing the above line to:
But a more flexible fix is to realize that since we are merely modifying the metadata for these variables, we don't need to specify the
This works, as you can see here: As a bonus, I added the proper specification of the vertical coordinate, even though I don't think we have any 3D CF/UGRID compliant software yet. The fix for this one dataset is here: I'll go ahead and change the other |
The files are changed. @drf5n would you mind taking a look at the 3D selfe files here: |
I plotted a few with NCtoolbox, and they seemed OK to me
I think the fix is fine. |
Issue #17 may be more pervasive throughout the VIMS SELFE datasets then first anticipated.
I'm having a problem with this dataset as well:
http://comt.sura.org/thredds/dodsC/data/comt_1_archive/inundation_tropical/VIMS_SELFE/Hurricane_Ike_3D_final_run_with_waves.html
While some variables successfully deliver data, I cannot access u or v which are typically quantities of interest. Just using the ncml interface to issue an ascii get for u and v I get
Error {
code = 500;
message = "NcSDArray InvalidRangeException=Number of ranges in section (2) must be = 3";
};
I was asking for u [time=0:1:3,nodes=0:1:15], v[time=0:1:3,nodes=0:1:15] just as a small test.
@brianmckenna confirms.
@rsignell-usgs please review, thanks!
The text was updated successfully, but these errors were encountered: