My customized class based on Curl to download data products of JAXA Himawari-8. Currently only SWR (Short Wave Radiation) L2 product was tested.
- Install Curl on the operation system and add to the path.
- Install required packages
pip install -r requirements.txt
- Register a new account from JAXA.
- Download SWR data of a period to a local directory.
from HimawariDownloader import HimawariDownloader
from datetime import datetime, timedelta
# set up start time and end time
start_time = datetime(2021, 5, 11, 3)
end_time = start_time + timedelta(hours=4)
print(start_time, end_time)
SWRDownloader = HimawariDownloader(
user = 'email', # replace with email address of the registered account
pwd = 'password', # replace with the password
level = 'L2',
product = 'PAR',
version = '010',
local_root_dir = '/local/path', # replace with a local path
)
start_time_utc, end_time_utc = start_time - timedelta(hours=8), end_time - timedelta(hours=8)
SWRDownloader.download_period(start_time_utc, end_time_utc)