11.07.2015 Views

Menyanthes User Manual - KWR Watercycle Research Institute

Menyanthes User Manual - KWR Watercycle Research Institute

Menyanthes User Manual - KWR Watercycle Research Institute

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IV Appendix D: Data structure in MATLABFor those who use <strong>Menyanthes</strong> in a MATLAB environment or have access to MATLAB, it maycome in handy to load <strong>Menyanthes</strong> data into MATLAB itself.Main structure:<strong>Menyanthes</strong> stores all its data in three separate, so-called ‘structures’, reflecting the layout ofthe main window:H – the structure with all data regarding the groundwater levels or observation wellsIN – all data regarding the explanatory seriesM – all data and results from the time series analysesThese structures are defined as ‘global variables’, which allows them to be called and changedfrom the command line in MATLAB. If so desired, one should type the command ‘Global H INM’ at the prompt.Note: when changing or adding data to the H, IN or M structures, all checks on the integrity ofthe data (see section 5.2.5) are bypassed, which are normally performed after the importroutine.By doing so, errors may occur at a later point in the <strong>Menyanthes</strong>.The H structureThe H structure contains the following fields:• name – local name or code of the observation well• tnocode – code of the observation well in DINO• values – two column matrix with the observations ([date value])• xcoord – x coordinate• ycoord – y coordinate• upfiltlev – top of the filter• lowfiltlev – bottom of the filter• surflev – surface levelThe IN structureThe IN structure contains the following fields:• name – name or code of the series• type – the type of explanatory series (connected to the IR function)• xcoord – x coordinate• ycoord – y coordinate• upfiltlev – top of the filter• lowfiltlev – bottom of the filterThe M structureThe M structure contains the following fields:• name – name or code of a model• tdiscr – the modelling frequency (in days)• nonlin – model non linear yes or no (1 or 0)• equid – input data interpolated to a steady frequency yes or no (1 or 0)• resamph – groundwater data resampled yes or no (1 or 0)<strong>Menyanthes</strong> <strong>Manual</strong>© <strong>KWR</strong> - 56 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!