You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I wrote the same script provided by SOLWEIG to generate various folders with Tmrt results. I added 2 loops and it works. But at the end, when I open the output folder, I have only the Tmrt average and not the other Trmrt for the ohers hours.
I tried for one raster map named C07 and weather text current.
Let me explain the code :
For each period, I want to calculate all the temperatures (Tmrt) for a day (1AM, 2AM...) and load the results in a folder for each maps (A01,...) by period.
Can you check my script please ? Thank you for your help
This discussion was converted from issue #456 on September 13, 2022 14:34.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I wrote the same script provided by SOLWEIG to generate various folders with Tmrt results. I added 2 loops and it works. But at the end, when I open the output folder, I have only the Tmrt average and not the other Trmrt for the ohers hours.
I tried for one raster map named C07 and weather text current.
Let me explain the code :
For each period, I want to calculate all the temperatures (Tmrt) for a day (1AM, 2AM...) and load the results in a folder for each maps (A01,...) by period.
Can you check my script please ? Thank you for your help
liste complète des noms de dalles
tiles_full = ['A01', 'B01', 'C01', 'D01', 'E01', 'F01', 'G01', 'A02', 'B02', 'C02', 'D02', 'E02', 'F02', 'G02', 'A03', 'B03', 'C03', 'D03', 'E03', 'F03', 'G03', 'A04', 'B04', 'C04', 'D04', 'E04', 'F04', 'G04', 'A05', 'B05', 'C05', 'D05', 'E05', 'F05', 'G05', 'A06', 'B06', 'C06', 'D06', 'E06', 'F06', 'G06', 'A07', 'B07', 'C07', 'D07', 'E07', 'F07', 'G07', 'A08', 'B08', 'C08', 'D08', 'E08', 'F08', 'G08', 'A09', 'B09', 'C09', 'D09', 'E09', 'F09', 'G09', 'A10', 'B10', 'C10', 'D10', 'E10', 'F10', 'G10']
periods_full = ['01-CURRENT', '02-MID-CENTURY', '03-END-CENTURY']
tiles = ['C07']# tiles_full
periods = ['01-CURRENT']# periods_full
chemins
root_path = 'C:/Users/name/Desktop/WORK/'
root_folder_dblslash = "C:\Users\name\Desktop\WORK\"
tmr_folder_path = root_folder_dblslash + 'A07-TMR\00-DALLES\'
dsm_path = root_path + 'A01-DSM/DSM_'
cdsm_path = root_path + 'A02-CDSM_TDSM/CDSM_'
tdsm_path = root_path + 'A02-CDSM_TDSM/TDSM_'
dem_path = root_path +'02-DEM/03-DEM_TIFF/DEM_'
svf_folder = root_folder_dblslash + 'A03-SVF\'
lc_path = root_path + '05-LANDCOVER/06-LC/LC_'
wallHeight_path = root_path + 'A04-WALLS/wallHeight_'
wallAspect_path = root_path + 'A04-WALLS/wallAspect_'
met_path = root_path + 'A05-METEO\02-METEO_UMEP_14JUL\'
for period in periods:
Beta Was this translation helpful? Give feedback.
All reactions