Page tree
Skip to end of metadata
Go to start of metadata

This access handler allow accesin hdf5 files. For further information on hdf5 see http://www.hdfgroup.org/HDF5/

Shortcut-Operator: HDFSource

Options

  • path: The pathes to the elements that should be used to create one object. All pathes must have the same length and the same start point! Elements are separated by ';'
  • filename: The name and path of the hdf5 file 

Example

         ACCESS({
			source='Source',
			wrapper='GenericPull',
			transport='NcsaHDFFile',
			protocol='StringArray',
			dataHandler='Tuple',
            source='CHP0',
            schema=[
                ['TIMESTAMP', 'StartTIMESTAMP'],
                ['consumer_p', 'Double'],
                ['consumer_q', 'Double'],
                ['storage_t','Double']
              ],
              options=[
				['paths','/CHPSim/CHPSim_0/CHP/CHP_${i}/consumer/consumer_0/P;/CHPSim/CHPSim_0/CHP/CHP_0/consumer/consumer_0/Q;/CHPSim/CHPSim_0/CHP/CHP_0/storage/storage_0/T'],
				['filename','${WORKSPACE}/Mosaik/data/study-0-0.hdf5']
				]                                       
            }                                              
          )                  

         
HDFSOURCE({
              paths=[
                    '/CHPSim/CHPSim_0/CHP/CHP_0/consumer/consumer_0/P','/CHPSim/CHPSim_0/CHP/CHP_0/consumer/consumer_0/Q','/CHPSim/CHPSim_0/CHP/CHP_0/storage/storage_${i}/T'                                    
              ],
              filename='${WORKSPACE}/Mosaik/data/study-0-0.hdf5',
              source='CHP_0',
              schema=[
                ['TIMESTAMP', 'StartTIMESTAMP'],
                ['consumer_p', 'Double'],
                ['consumer_q', 'Double'],
                ['storage_t','Double']
              ]                       
            }                                              
          )                  
  • No labels