diff --git a/speasy/config/__init__.py b/speasy/config/__init__.py index 9a89f4e5..69fdfdfa 100644 --- a/speasy/config/__init__.py +++ b/speasy/config/__init__.py @@ -158,7 +158,7 @@ def remove_entry(entry: ConfigEntry): "description": """A comma separated list of providers you want to disable. The main benefit of disabling providers is to speedup speasy loading.""", "type_ctor": lambda x: set(x.split(','))}, - http_rewrite_rules={"default": {}, + http_rewrite_rules={"default": {"https://cdaweb.gsfc.nasa.gov/pub/":"http://sciqlop.lpp.polytechnique.fr/cdaweb-data/pub/"}, "description": """A dictionary of rules to rewrite URLs before sending requests. The keys are the URL to match and the values are the replacement URL. Example: {"http://example.com": "http://localhost:8000"}""", diff --git a/speasy/webservices/cda/__init__.py b/speasy/webservices/cda/__init__.py index 59e459e8..502cf864 100644 --- a/speasy/webservices/cda/__init__.py +++ b/speasy/webservices/cda/__init__.py @@ -191,7 +191,6 @@ def _get_data_with_ws(self, product, start_time: datetime, stop_time: datetime, return self._dl_variable(start_time=start_time, stop_time=stop_time, dataset=dataset, variable=variable, if_newer_than=if_newer_than, extra_http_headers=extra_http_headers) - @Proxyfiable(GetProduct, get_parameter_args_archive) def _get_data_with_direct_archive(self, product, start_time: datetime, stop_time: datetime, mode_is_best: bool, if_newer_than: datetime or None = None, extra_http_headers: Dict or None = None) -> Optional[SpeasyVariable]: