'pvlib for BSRN datasets retrievable via PANGAEA

I signed up for a PANGAEA user account to access https://dataportals.pangaea.de/bsrn/ using pvlib

import pvlib
import pandas

df, meta = pvlib.iotools.get_bsrn(
    station='CAB',  
    start=pd.Timestamp(2020,1,1),
    end=pd.Timestamp(2020,6,1),
    username='redacted',  
    password='redacted',  
)

after replacing my username and password, I got this error error_perm: 530 Login incorrect.

What I am doing wrong! any suggestions?



Solution 1:[1]

The error message states that there is a problem logging in, which means that the username and password combination you are using is incorrect. The pvlib function retrieves data from the FTP server and not Pangea, so the credentials may not be the same. The correct credentials can be obtained by contacting the BSRN: https://bsrn.awi.de/data/data-retrieval-via-ftp/.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Adam Jensen