Skip to content

Commit ab70bef

Browse files
committed
Small Adaptions for Arome download
1 parent f573c99 commit ab70bef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/modules/config/test_parse_configurations.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
def test_parse_model_config():
77
to_test = parse_model_config()[WeatherModels.AROME_METEO_FRANCE.value]
8-
assert to_test == {'remote_server': 'dcpc-nwp.meteo.fr/services',
8+
assert to_test == {'remote_server': 'dcpc-nwp.meteo.fr',
99
'remote_server_type': 'http',
1010
'initialization_times': [0, 3, 6, 12, 18],
1111
'forecast_steps': {
@@ -34,11 +34,11 @@ def test_parse_model_config():
3434
26, 27,
3535
28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
3636
40, 41, 42]},
37-
'grib_package_types': ['HP', 'SP1', 'SP2', 'SP3'],
37+
'grib_package_types': ['HP1', 'SP1', 'SP2', 'SP3'],
3838
'variables': ['air_temperature_2m', 'temperature'],
39-
'file_template': 'package={grib_package_type}&time={forecast_step}H&referencetime={initialization_date}T{initialization_time}:00:00Z&format=grib2',
39+
'file_template': 'PS_GetCache_DCPCPreviNum?model=AROME&grid=0.01&&package={grib_package_type}&time={forecast_step}H&referencetime={initialization_date}T{initialization_time}:00:00Z&format=grib2',
4040
'initialization_date_format': '%Y-%m-%d',
41-
'directory_template': 'PS_GetCache_DCPCPreviNum?model=AROME&grid=0.01&',
41+
'directory_template': 'services',
4242
'file_postfix': 'grib2',
4343
'compression': '',
4444
'forecast_steps_string_length': 2}

0 commit comments

Comments
 (0)