Open SamRWest opened 8 months ago
Interesting! Dash-separated values should not have reached this far... We should definetely expand them. Could you check in raw_tables.txt
the tag of the table they are originating from?
Interesting! Dash-separated values should not have reached this far... We should definetely expand them. Could you check in
raw_tables.txt
the tag of the table they are originating from?
Sure thing, these are all the spots they appear in raw_tables.txt
range: L12:R16
filename: benchmarks/xlsx\../../../austimes-lfs\SuppXLS/Scen_Par-austimes_CCA.xlsx
tag: ~TFM_INS
types: Attribute (object), PSET_SET (object), PSET_PN (object), CSET_CN (object), Year (object), AllRegions (object)
Attribute,PSET_SET,PSET_PN,CSET_CN,Year,AllRegions
PRC_FOFF,,T*Dsl,"TraDsl,TraB20",2070-EOH,1
PRC_FOFF,,T*Pet,"TraPet,TraE10",2070-EOH,1
PRC_FOFF,,T*Lpg,TraLpg,2070-EOH,1
range: B72:F74
filename: benchmarks/xlsx\../../../austimes-lfs\SuppXLS/Scen_nsv-austimes_csiro_1.xlsx
uc_sets: {'R_S': 'NSA,ADE,SESA,NQ,CQ,SWQ,SEQ,LV,MEL,CVIC,NVIC,SWNSW,NNS,NCEN,CAN,TAS,ACT,NSW,QLD,SA,VIC'}
tag: ~TFM_INS
types: attribute (object), process (object), year (object), value (object)
attribute,process,year,value
PRC_AOFF,"EE_StmTurb312,EE_StmTurb313",2024-EOH,1
range: L10:R14
filename: benchmarks/xlsx\../../../austimes-lfs\SuppXLS/Scen_nsv-austimes_csiro_1.xlsx
tag: ~TFM_INS
types: Attribute (object), PSET_SET (object), PSET_PN (object), CSET_CN (object), Year (object), AllRegions (object)
Attribute,PSET_SET,PSET_PN,CSET_CN,Year,AllRegions
PRC_FOFF,,T*Dsl,"TraDsl,TraB20",2045-EOH,1
PRC_FOFF,,T*Pet,"TraPet,TraE10",2045-EOH,1
PRC_FOFF,,T*Lpg,TraLpg,2045-EOH,1
range: S22:AB25
filename: benchmarks/xlsx\../../../austimes-lfs\SuppXLS/Scen_TransportPolicies.xlsx
uc_sets: {'R_E': 'allregions'}
tag: ~TFM_INS
types: attribute (object), CSET_CN (object), year (object), allregions (object), NSW (object), QLD (object), VIC (object), PSET_CO (object), PSET_CI (object)
attribute,CSET_CN,year,allregions,NSW,QLD,VIC,PSET_CO,PSET_CI
PRC_FOFF,TraE10,BOH-EOH,1,0,0,0,TraE10,
PRC_FOFF,TraE10,BOH-EOH,1,,,,-T_pas?,TraE10
Thanks! We currently expand dash-separated values only for FI_T
tables (lines 542-555
in process_flexible_import_tables
. The easiest fix would be to extract that code to a separate tranform and apply it also to TFM_INS
tables.
No worries. Thanks for the pointer, I'll look into it.
Austimes has some non-integer-parseable year values (e.g.
2070-EOH
) which this function fails on:If the intention was to collect all the valid years, this could be fixed by updating to:
to:
Would this work, or would we need to interpret/expand these ranges?