Yikes. Forgot the diff. The line numbers won’t match, but this should be easy to apply to your current forecast.py.
diff --git a/bin/user/forecast.py b/bin/user/forecast.py
index d947fb3..2254fed 100644
--- a/bin/user/forecast.py
+++ b/bin/user/forecast.py
@@ -5033,9 +5033,9 @@ if __name__ == "__main__":
help="specify the location")
parser.add_option("--api-key", dest="api_key", type=str, metavar="KEY",
help="specify the api key")
- parser.add_option("--client-id", dest="client-id", type=str,
+ parser.add_option("--client-id", dest="client_id", type=str,
metavar="ID", help="specify the client id")
- parser.add_option("--client-secret", dest="client-secret", type=str,
+ parser.add_option("--client-secret", dest="client_secret", type=str,
metavar="SECRET", help="specify the client secret")
parser.add_option("--filename", dest="filename", metavar="FILENAME",
help="file that contains forecast data",
@@ -5078,6 +5078,9 @@ if __name__ == "__main__":
fcast = AerisForecast.download(
options.client_id, options.client_secret, options.loc)
print(fcast)
+ elif options.method.lower() == 'aeris':
+ fcast = AerisForecast.download(options.client_id, options.client_secret, options.loc)
+ print(fcast)
elif options.method.lower() == 'wwo':
fcast = WWOForecast.download(options.api_key, options.loc)
print(fcast)