NVE / pysenorge

Python tool for seNorge.no and xgeo.no
0 stars 1 forks source link

Wind speed wrt dominant direction #1

Open kmunve opened 11 years ago

kmunve commented 11 years ago

wind_1500m_daily: Make dependent on wind direction. Read wind direction - determine predominant wind direction - calculated max wind speed in predominant wind direction . Wind directions can be classified in either 4 or 8 regions (90 or 45 degrees).

Monte-Carlo commented 11 years ago

This new feature is implemented in recent version of "wind_1500m_daily". It hasn't been tested on a server yet but works on a local machine. Because the script uses more or less the same routine as the calculation of wind-direction with a raster of 1550 to 1150 it almost doubles the running time of the script. But the runtime is still under 60 seconds on a laptop.