Skip to content

Commit 5f6aef6

Browse files
Remove ecmwf_macc functions (#1654)
* Remove ecmwf_macc functions * Add whatsnew entry * Update v0.9.5.rst * Add whatsnew to 0.9.6 * Update docs/sphinx/source/whatsnew/v0.9.6.rst Co-authored-by: Kevin Anderson <[email protected]> * Remove macc functions from reference/iotools.rst * Update v0.9.6.rst * Apply suggestions from code review --------- Co-authored-by: Kevin Anderson <[email protected]>
1 parent ef4e31b commit 5f6aef6

File tree

7 files changed

+8
-481
lines changed

7 files changed

+8
-481
lines changed

docs/sphinx/source/reference/iotools.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ of sources and file formats relevant to solar energy modeling.
2020
iotools.read_surfrad
2121
iotools.read_midc
2222
iotools.read_midc_raw_data_from_nrel
23-
iotools.read_ecmwf_macc
24-
iotools.get_ecmwf_macc
2523
iotools.read_crn
2624
iotools.read_solrad
2725
iotools.get_psm3

docs/sphinx/source/user_guide/clearsky.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ derived from surface relative humidity using functions such as
377377
:py:func:`pvlib.atmosphere.gueymard94_pw`.
378378
Numerous gridded products from satellites, weather models, and climate models
379379
contain one or both of aerosols and precipitable water. Consider data
380-
from the `ECMWF <https://software.ecmwf.int/wiki/display/WEBAPI/Access+ECMWF+Public+Datasets>`_
380+
from the `ECMWF ERA5 <https://www.ecmwf.int/en/forecasts/dataset/ecmwf-reanalysis-v5>`_,
381+
`NASA MERRA-2 <https://gmao.gsfc.nasa.gov/reanalysis/MERRA-2/>`_,
381382
and `SoDa <http://www.soda-pro.com/web-services/radiation/cams-mcclear>`_.
382383

383384
Aerosol optical depth (AOD) is a function of wavelength, and the Simplified

docs/sphinx/source/whatsnew/v0.9.6.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ Breaking Changes
1515

1616
Deprecations
1717
~~~~~~~~~~~~
18+
* Removed the ``get_ecmwf_macc`` and ``read_ecmwf_macc`` iotools functions as the
19+
MACC dataset has been `removed by ECMWF <https://confluence.ecmwf.int/display/DAC/Decommissioning+of+ECMWF+Public+Datasets+Service>`_
20+
(data period 2003-2012). Instead, ECMWF recommends to use CAMS global
21+
reanalysis (EAC4) from the Atmosphere Data Store (ADS). See also :py:func:`pvlib.iotools.get_cams`.
22+
(:issue:`1691`, :pull:`1654`)
1823

1924
* The ``recolumn`` parameter in :py:func:`pvlib.iotools.read_tmy3`, which maps
2025
TMY3 column names to nonstandard alternatives, is now deprecated.

pvlib/iotools/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
from pvlib.iotools.surfrad import read_surfrad # noqa: F401
66
from pvlib.iotools.midc import read_midc # noqa: F401
77
from pvlib.iotools.midc import read_midc_raw_data_from_nrel # noqa: F401
8-
from pvlib.iotools.ecmwf_macc import read_ecmwf_macc # noqa: F401
9-
from pvlib.iotools.ecmwf_macc import get_ecmwf_macc # noqa: F401
108
from pvlib.iotools.crn import read_crn # noqa: F401
119
from pvlib.iotools.solrad import read_solrad # noqa: F401
1210
from pvlib.iotools.psm3 import get_psm3 # noqa: F401

pvlib/iotools/ecmwf_macc.py

Lines changed: 0 additions & 312 deletions
This file was deleted.

0 commit comments

Comments
 (0)