Skip to content

Commit

Permalink
fix(viz): Add visualization steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Feb 19, 2024
1 parent 1aa59ee commit fb5fe5e
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions pollination/direct_sun_hours/_postprocess.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from pollination_dsl.dag import Inputs, GroupedDAG, task, Outputs
from dataclasses import dataclass
from pollination.honeybee_radiance.grid import MergeFolderData
from pollination.honeybee_radiance_postprocess.grid import MergeFolderData as MergeFolderDataPostprocess
from pollination.honeybee_radiance.post_process import DirectSunHoursVisMetadata
from pollination.path.copy import CopyFile, CopyFileMultiple
from pollination.honeybee_display.translate import ModelToVis
Expand Down Expand Up @@ -74,24 +73,7 @@ def copy_grid_info(self, src=grids_info):
]

@task(
template=MergeFolderDataPostprocess, needs=[copy_sun_up_hours, copy_grid_info],
sub_paths={'input_folder': 'direct_sun_hours'}
)
def restructure_timestep_results(
self, input_folder=input_folder,
extension='ill', dist_info=dist_info, as_text=True, fmt='%i',
delimiter='tab'
):
return [
{
'from': MergeFolderDataPostprocess()._outputs.output_folder,
'to': 'results/direct_sun_hours'
}
]

@task(
template=MergeFolderData, needs=[copy_sun_up_hours, copy_grid_info],
sub_paths={'input_folder': 'cumulative'}
template=MergeFolderData, needs=[copy_sun_up_hours, copy_grid_info]
)
def restructure_cumulative_results(
self, input_folder=input_folder,
Expand Down

0 comments on commit fb5fe5e

Please sign in to comment.