Professional Documents
Culture Documents
Index
1 INTRODUCTION ___________________________________________________________________ 1 1.1 1.2 1.3 TYPICAL USE ________________________________________________________________ 2 DATA INPUT REQUIREMENTS ____________________________________________________ 2 OUPUT _____________________________________________________________________ 3
1 Introduction
The FillMatrix application creates a grid data file or HDF5 file from data interpolated from XYZ or Time Series files. Running options for this application are specified by the user in an input file named FillMatrix.dat. This application considers georeferenced data in an interpolation process to obtain one or a time series of 2D fields usable in the MOHID framework. The interpolation process involves spatial interpolation, in the case of a time invariant 2D field, and spatial and time interpolation, in the case of a time series of 2D fields. The georeferenced data can be of two types: - time invariant: XYZ data, defined in a XYZ file or directly by the user in the input file; - time variant: time series data, defined in a time series file. The data location defined individually by the user in the input file is called a station. The output field is obtained for the desired property and can also be time invariant or time variant: - a time invariant field (grid data file) is obtained from spatial interpolation and time interpolation for a time instant specified by the user; - a time variant field (HDF5 file) is determined taking into account userdefined time window, a maximum time span and output times; the maximum 1
time span is used in case of data lacking to control the process of interpolation: if a source of time variant data has data more distant in time from the desired output time than the maximum time span then this source is not considered in the interpolation. The interpolation in space can be accomplished using triangulation or inversedistance weighted method. In this second method the user can specify the inverse-distance weighting power and the maximum distance between the intended grid location and a data station for that station to be considered in the spatial interpolation. The interpolation in time is linear.
Alternatively the use of data files can be ignored, being the data values for each station supplied by the user in the input file. The coordinate system must be the same in all files.
1.3 Ouput
A grid data or a HDF5 file, respectively in case a time invariant and a time variant field is generated.
Remarks: - output field can only be obtained for one property/parameter per FillMatrix application run; - although not required it is advisable that the attributed property/parameter name is consistent with the MOHID naming convention, so that the produced output file is readily used in other MOHID applications;
- FillMatrix application assumes that the input georeferenced data is in the same coordinate system and property units requested for the output field; - in OUTPUT_TIME keyword (case VARIABLE_IN_TIME : 1) at least two values in seconds must be provided: the first value indicates the time in seconds after the start time when is made first output, the last value is the afterwards time step of the outputs; when more than two values are provided (maximum of 240 values) the values between the first and the last are considered the time, from the start time, of specific outputs, after which the time step value is considered for output: e.g. OUTPUT_TIME : 0 7200 21600 3600 means outputs at the start time, after 7200 seconds from start, after 21600 seconds from start and after every 3600 seconds; - the default value for the IWD_N keyword is considered by N.O.A.A. 1972,
3 Sample