##// END OF EJS Templates
comentario y recomendacion para usar utcoffset
Alexander Valdez -
r1692:93a8eb01fd3d
parent child
Show More
@@ -37,6 +37,12 class HDFReader(Reader, ProcessingUnit):
37 Dictionary with the description of the HDF5 file
37 Dictionary with the description of the HDF5 file
38 extras : dict, optional
38 extras : dict, optional
39 Dictionary with extra metadata to be be added to `dataOut`
39 Dictionary with extra metadata to be be added to `dataOut`
40
41 Attention: Be carefull, add attribute utcoffset, in the last part of reader in order to work in Local Time without time problems.
42
43 -----------
44 utcoffset='-18000'
45
40
46
41 Examples
47 Examples
42 --------
48 --------
@@ -65,6 +71,7 class HDFReader(Reader, ProcessingUnit):
65 'timeZone': 300
71 'timeZone': 300
66 }
72 }
67
73
74
68 reader = project.addReadUnit(
75 reader = project.addReadUnit(
69 name='HDFReader',
76 name='HDFReader',
70 path='/path/to/files',
77 path='/path/to/files',
@@ -72,16 +79,11 class HDFReader(Reader, ProcessingUnit):
72 endDate='2019/01/31',
79 endDate='2019/01/31',
73 startTime='00:00:00',
80 startTime='00:00:00',
74 endTime='23:59:59',
81 endTime='23:59:59',
82 utcoffset='-18000'
75 # description=json.dumps(desc),
83 # description=json.dumps(desc),
76 # extras=json.dumps(extras),
84 # extras=json.dumps(extras),
77 )
85 )
78
86
79 ATTENTION:
80 Add attribute:
81
82 utcoffset='-18000'
83 in the last part of reader in order to work in Local Time
84
85 """
87 """
86
88
87 __attrs__ = ['path', 'startDate', 'endDate', 'startTime', 'endTime', 'description', 'extras']
89 __attrs__ = ['path', 'startDate', 'endDate', 'startTime', 'endTime', 'description', 'extras']
General Comments 0
You need to be logged in to leave comments. Login now