A.A Posted October 11 Report Posted October 11 In climate data, Metosyn picks up the altitude by itself after generating weather data by longitude latitude. Some locations, it picks up the accurate altitude but for some locations, it shows 0m which is wrong compared to realistic altitude data. Why is it so? Secondly, is there any way we can adjust that altitude for specific longitude and latitude? Quote
developer_bh Posted October 14 Report Posted October 14 Hello! Quote Why is it so? The (altitude) data is retrieved from external sources. Quote Secondly, is there any way we can adjust that altitude for specific longitude and latitude? In the program there is no official way to edit the altitude at the moment. However, I will provide you with a script that allows you to change the altitude of a given weatherfile (.wbv). Please follow these steps Download the ps1 script (powershell script, windows) from the attachment of this answer Copy the WBV (f.e. "Berlin.wbv") you want to change in the folder of the script (f.e. Desktop/WbvBackups) twice ("Berlin.wbv" - file to change the altitude, "Berlin_backup.wbv" file as a backup of the old state) Delete the WBV in MeteoSyn via Listview context menu (Headsup - this will delete the file, so make sure you have the backup from step 2) Open a shell in the folder (f.e. Desktop/WbvBackups). You can do this in the explorer by navigating to the destination folder and typing "cmd" in the path, then press Enter. Activate the script by the following command : powershell -File "PATH_TO_THE_SCRIPT" -filePath "PATH_TO_WBV" -newValue ALT_VALUE powershell says it will open the powershell (you usually need administrator rights for that) the string after -File directs to the script path the string after -filePath directs to the WBV path the number after -newValue is the new altitude Import the changed file in meteoSyn Check if the new altitude is correct. Do a simulation with the new file to make sure it works as intended. If everything succeeds you may delete the backup from step 2. I hope this is a good work around for now!? I will forward the feature request to the team to make this process easier from within the program, but cannot give you a specific date for the implementation. Best, Ben change_wbv_altitude_value.ps1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.