Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The subgrid must be fully contained within the original grid.
  • The subgrid must have the same geodatum as the original grid.
  • The cellwidth of the subgrid must be the same as the cellwidth of the original grid within a margin of 10 percent.
  • The cellheight of the subgrid must be the same as the cellheight of the original grid within a margin of 10 percent.
  • All cell centers in the subgrid must coincide with cell centers in the original grid within a certain margin.
Note

Importing data for a sub grid currently only works for regular grids.

For example to import data for a sub grid from the URL http://test.opendap.org/opendap/hyrax/data/nc/sst.mnmean.nc.gz use e.g. the following grid definition in the grids.xml file. In this example a subgrid of 5x5 cells is imported, where the cell center longitude coordinates range from 0 to 8 degrees and the cell center latitude coordinates range from 50 to 58 degrees.

Code Block
xml
xml
TODO
Note
Importing data for a sub grid currently only works for regular grids.
	<regular locationId="gridLocation1">
		<rows>5</rows>
		<columns>5</columns>
		<geoDatum>WGS 1984</geoDatum>
		<firstCellCenter>
			<x>0</x>
			<y>58</y>
		</firstCellCenter>
		<xCellSize>2</xCellSize>
		<yCellSize>2</yCellSize>
	</regular>

For more information about the configuration of grid definitions in Delft-FEWS see Grids.

...