def rasters_in_scenario(scenario_json):
    """return two lists of static and temporal rasters including 3di result name and code"""
    temporal_rasters = []
    static_rasters = []
    for result in scenario_json['result_set']:
        result_type = result['result_type']
        if result_type['has_raster']:
            raster = result['raster']
            name_3di = result_type['name']
            code_3di = result_type['code']
            raster['name_3di'] = name_3di
            raster['code_3di'] = code_3di
            if raster['temporal']:
                temporal_rasters.append(raster)
            else:
                static_rasters.append(raster)
    return static_rasters, temporal_rasters
