diff --git a/recordGenerators/CurrentObservations.py b/recordGenerators/CurrentObservations.py index b589f45..d33c012 100644 --- a/recordGenerators/CurrentObservations.py +++ b/recordGenerators/CurrentObservations.py @@ -26,6 +26,11 @@ for i in MPC.getPrimaryLocations(): tecciId.append("T" + LFR.getCoopId(i)) zipCodes.append(LFR.getZip(i)) +# Obtain metro map city TECCI and zips: +for i in MPC.getMetroCities(): + tecciId.append("T" + LFR.getCoopId(i)) + zipCodes.append(LFR.getZip(i)) + apiKey = '21d8a80b3d6b444998a80b3d6b1449d3' diff --git a/recordGenerators/DailyForecast.py b/recordGenerators/DailyForecast.py index a13899d..acd7133 100644 --- a/recordGenerators/DailyForecast.py +++ b/recordGenerators/DailyForecast.py @@ -25,6 +25,11 @@ for i in MPC.getPrimaryLocations(): tecciId.append(LFR.getCoopId(i)) zipCodes.append(LFR.getZip(i)) +# Grab metro map city tecci and zip codes +for i in MPC.getMetroCities(): + tecciId.append(LFR.getCoopId(i)) + zipCodes.append(LFR.getZip(i)) + apiKey = '21d8a80b3d6b444998a80b3d6b1449d3' def getData(tecci, zipCode): diff --git a/recordGenerators/HourlyForecast.py b/recordGenerators/HourlyForecast.py index 8ffc802..1e6b097 100644 --- a/recordGenerators/HourlyForecast.py +++ b/recordGenerators/HourlyForecast.py @@ -25,6 +25,11 @@ for i in MPC.getPrimaryLocations(): tecciId.append(LFR.getCoopId(i)) zipCodes.append(LFR.getZip(i)) +for i in MPC.getMetroCities(): + tecciId.append(LFR.getCoopId(i)) + zipCodes.append(LFR.getZip(i)) + + apiKey = '21d8a80b3d6b444998a80b3d6b1449d3' def getData(tecci, zipCode):