@@ -54,6 +54,9 @@ class EnvironmentAnalysis:
54
54
- The class then parses the weather data from the start date to the end date.
55
55
- The class then calculates the average max/min temperature, average max wind gust, and average day wind rose.
56
56
- The class then plots the average max/min temperature, average max wind gust, and average day wind rose.
57
+
58
+ TODOs:
59
+ - Add maxExpectedHeight to the class.
57
60
"""
58
61
59
62
def __init__ (
@@ -488,9 +491,7 @@ def parsePressureLevelData(self):
488
491
Parse pressure level data from a weather file.
489
492
490
493
Sources of information:
491
- TODO: Fix website that is guiding to single levels data
492
- - https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels-preliminary-back-extension?tab=overview
493
- -
494
+ - https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-pressure-levels?tab=form
494
495
495
496
Must get the following variables from a ERA5 file:
496
497
- Geopotential
@@ -683,9 +684,10 @@ def parseSurfaceData(self):
683
684
"""
684
685
Parse surface data from a weather file.
685
686
Currently only supports files from ECMWF.
687
+ You can download a file from the following website: https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels?tab=form
686
688
687
689
Must get the following variables:
688
- - surface elevation: self.elevation = float
690
+ - surface elevation: self.elevation = float # Select 'Geopotential'
689
691
- 2m temperature: surfaceTemperature = float
690
692
- Surface pressure: surfacePressure = float
691
693
- 10m u-component of wind: surface10mWindVelocityX = float
@@ -2746,7 +2748,6 @@ def exportMeanProfiles(self, filename="export_env_analysis"):
2746
2748
"elevation" : self .elevation ,
2747
2749
"timeZone" : self .preferred_timezone ,
2748
2750
"unit_system" : self .unit_system ,
2749
- # "maxExpectedHeight": 80000, # TODO: Implement this parameter at EnvAnalysis Class
2750
2751
"surfaceDataFile" : self .surfaceDataFile ,
2751
2752
"pressureLevelDataFile" : self .pressureLevelDataFile ,
2752
2753
"atmosphericModelPressureProfile" : organized_pressure_dict ,
0 commit comments