Skip to content

Set weather via SimConnect_WeatherSetObservation METAR string? #83

@vamshichittaluri

Description

@vamshichittaluri

Hello all,

Hope you are all well. I know through SimVars we cannot set the weather for the simulator. However, as seen in the attributes.py and simconnect function, i saw that we should be able to set METAR string weather(c++) implementation.

	# SIMCONNECTAPI SimConnect_WeatherSetObservation(
	#   HANDLE hSimConnect,
	#   DWORD Seconds
	#   const char * szMETAR);
	self.WeatherSetObservation = self.SimConnect.SimConnect_WeatherSetObservation
	self.WeatherSetObservation.restype = HRESULT
	self.WeatherSetObservation.argtypes = [HANDLE, DWORD, c_char_p]

Can anyone guide me how to send the METAR string, i dont mean the actual string format, but synatx etc.

Kind Regards
Vamshi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions