Skip to contents

Will read the first 20 line of ReachLoop.dat or HRULoop.dat created by J2000 in order to get informations on the J2K simulation

Usage

TNETutils_getDatInfoJ2K(path_J2K_datFile, date.start = NULL)

Arguments

path_J2K_datFile

path to the J2K .dat file to get the information

date.start

POSIXct. date to start reading the file. ONLY ON LINUX

Value

a list containing all file info describe in detals section.

Details

The data read in the header is the following:

  • ind_startData: Line where the data begin in the file

  • dateStart: first day of the J2000 simulation

  • dateEnd: last day of the simulation

  • Nbre_date: number of days in the simulation

  • colNames: all names of the columns

  • Nbre_col: number of columns in the .dat file