GDAL can access OPeNDAP. However, it can handle dataset that has 2 dimension. If you want to specify constraint expression, it should have "x" and "y" as explained in the GDAL user guide. The following code is from frmts/dods/dodsdataset2.cpp:
/* -------------------------------------------------------------------- */ /* For now we hard code to assume that the two dimensions are */ /* ysize and xsize. */ /* -------------------------------------------------------------------- */ if( poArray->dimensions() < 2 ) { throw Error("Variable does not have even 2 dimensions. For now this is req\ uired." ); } int nXDir = 1; int nYDir = 1; int iXDim = GetDimension( oCE, "x", &nXDir ); int iYDim = GetDimension( oCE, "y", &nYDir ); if( iXDim == -1 || iYDim == -1 ) { throw Error("Missing [x] or [y] in constraint." ); }