Replies: 1 comment
-
Hi Ruixi (@berberx), The username password you specified here above is for your EarthData Account, not the PPS ! Read this page to understand how to register (1) a PPS and (2) a EarthData account: https://gpm-api.readthedocs.io/en/latest/03_quickstart.html Once you registered to the PPS, you can check you have been granted access to PPS by login at: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm encountering an issue while using the gpm package to download data. The code I wrote based on the template you give is:
import gpm
username_pps = "berber"
password_pps = "ZayneandAmber_999"
base_dir = "/Users/amberrr/Desktop/rainfall_research" # path to the directory where to download the data
gpm.define_configs(
username_pps=username_pps, password_pps=password_pps, base_dir=base_dir
)
You can check that the config file has been correctly created with:
configs = gpm.read_configs()
print(configs)
import datetime
product = "2A-DPR"
product_type = "RS"
version = 7
start_time = datetime.datetime(2023, 1, 1, 0, 1, 11)
end_time = datetime.datetime(2023, 12, 31, 0, 23, 5)
gpm.download(
product=product,
product_type=product_type,
version=version,
n_threads=2,
start_time=start_time,
end_time=end_time,
)
And when I try to run it in python, the following replies shows up:
The GPM-API config file has been updated successfully!
{'base_dir': '/Users/amberrr/Desktop/rainfall_research', 'username_pps': 'berber', 'password_pps': 'ZayneandAmber_999'}
No data found on PPS on date 2022-12-31 for product 2A-DPR (V07)
No data found on PPS on date 2023-01-01 for product 2A-DPR (V07)
/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/gpm/io/download.py:996: GPMDownloadWarning: 'No data found on PPS on date 2023-01-01 for product 2A-DPR'
status, available_version = _download_daily_data(
No data found on PPS on date 2023-01-02 for product 2A-DPR (V07)
/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/gpm/io/download.py:996: GPMDownloadWarning: 'No data found on PPS on date 2023-01-02 for product 2A-DPR'
status, available_version = _download_daily_data(
No data found on PPS on date 2023-01-03 for product 2A-DPR (V07)
It kept repeating for the rest of the dates I request.
Is this a known issue or an expected behavior? Are there any addition steps to fetch the data, or should I wait for these files to become available?
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions