User Tools

Site Tools


start:hype_file_reference:class_output

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
start:hype_file_reference:class_output [2018/06/05 15:55]
cpers created
start:hype_file_reference:class_output [2024/02/21 10:10] (current)
cpers
Line 3: Line 3:
 Class output files are a special case of time series output from HYPE. It is similar to [[start:​hype_file_reference:​xxxxxxx.txt|basin output files]] and [[start:​hype_file_reference:​timexxxx.txt|time output files]]. Class output files are a special case of time series output from HYPE. It is similar to [[start:​hype_file_reference:​xxxxxxx.txt|basin output files]] and [[start:​hype_file_reference:​timexxxx.txt|time output files]].
  
-Class output contains values of HYPE variables for a single class or for a group of classes (a ''​classgroup''​). Not all HYPE variables have class values. Class groups are defined for output in the [[start:​hype_file_reference:​info.txt#​output_options|info-file]].+Class output contains values of HYPE variables for a single class or for a group of classes (a ''​classgroup''​). Not all HYPE variables have class values. The class variable can be differently defined than the subbasin variable, but mostly they are the same but representative of the class area (or classgroup'​s area) instead of the subbasin area or subbasin land area. The runoff variables, in the case of a recharge discharge model (''​modeloption redischargemodel 1''​ is used, are an exception. In this case the class output for recharge classes include all runoff from the class, and the class output for a discharge class include all runoff, so the sum of class runoff is higher than the runoff from land (subbasin variable crun). Class groups are defined for output in the [[start:​hype_file_reference:​info.txt#​output_options|info-file]]. 
 + 
  
 Class output files comes in the form of multple variables in a single subbasin similar to basin output files and as a single HYPE variable for all simulated subbasins similar to a time output file. The first are similar to basin output, and are as them named after the subbasin, the second type are named timeXXXX like time output files. To separate them from ordinary basin- and time-files the filename have a suffix consisting of the class group name. Class output files comes in the form of multple variables in a single subbasin similar to basin output files and as a single HYPE variable for all simulated subbasins similar to a time output file. The first are similar to basin output, and are as them named after the subbasin, the second type are named timeXXXX like time output files. To separate them from ordinary basin- and time-files the filename have a suffix consisting of the class group name.
Line 20: Line 22:
   classoutput 2 group A   classoutput 2 group A
  
-Class output files are written to the resultdir folder. XXXXXXX in the file name is substituted by the subbasin ID (with leading zeros for SUBID with less than 7 digits), for example 0002452. XXXX in the file name is substituted by the variable ID, for example ​timeCOUT+Class output files are written to the resultdir folder. XXXXXXX in the file name is substituted by the subbasin ID (with leading zeros for SUBID with less than 7 digits), for example 0002452. XXXX in the file name is substituted by the variable ID, for example ​timeCRUN
  
 Class output files will always be named with a suffix for the chosen period. It is possible to print out classoutput files for several mean periods at the same time. This is controlled from the info-file by numbering the different output information rows for the different types. ​ Class output files will always be named with a suffix for the chosen period. It is possible to print out classoutput files for several mean periods at the same time. This is controlled from the info-file by numbering the different output information rows for the different types. ​
  
-Class output files contain tab-separated data with column-wise HYPE variables or subbasins and row-wise time periods. All HYPE variable IDs are described in the list of HYPE variables. Upstream or regional aggregated variables (e.g. upcrun) may not be included in the class output.+Class output files contain tab-separated data with column-wise HYPE variables or subbasins and row-wise time periods. All HYPE variable IDs are described in the [[start:​hype_file_reference:​info.txt:​variables|list of HYPE variables]]. Upstream or regional aggregated variables (e.g. upcrun) may not be included in the class output.
  
-Class output files have a comment on the first row defining the class group. After the first row comes one (time file) or two (subbasin file) header rows. The headers contains subbasins (time file), or HYPE variable IDs and variable units (subbasin file). Below the headers follow the model results. The first column contains a date-time string (format depending on meanperiod specified in [[start:​hype_file_reference:​info.txt|info.txt]]),​ following columns contain model results of the given variable/​subbasins. Missing values are given as -9999.+Class output files have a comment on the first row defining the class group. After the first row comes one (time file) or two (subbasin file) header rows. The headers contains subbasins (time file), or HYPE variable IDs and variable units (subbasin file). Below the headers follow the model results. The first column contains a date-time string (format depending on ''​meanperiod''​ and ''​writetimeformat'' ​specified in [[start:​hype_file_reference:​info.txt|info.txt]]),​ following columns contain model results of the given variable/​subbasins. Missing values are given as -9999.
  
 Example structure of a class output file with daily variables, corresponding to the first classoutput in the info.txt file example above (0000101_DD_A.txt):​ Example structure of a class output file with daily variables, corresponding to the first classoutput in the info.txt file example above (0000101_DD_A.txt):​
Line 37: Line 39:
   1961-01-03 2.300 0.682   1961-01-03 2.300 0.682
  
-When ensemble or sequence simulations are made, the results from simulations (I = 1 .. n or I = sequence number > 0) are written to files with an additional suffix for the sequence/​ensemble number, e.g. XXXXXXX_DD_A_00I.txt. +When ensemble or sequence simulations are made, the results from simulations (I = 1 .. n or I = sequence number > 0) are written to files with an additional suffix for the sequence/​ensemble number, e.g. XXXXXXX_DD_A_001.txt. 
  
start/hype_file_reference/class_output.1528206952.txt.gz · Last modified: 2023/11/16 14:28 (external edit)