Current code only allows version v21 which only has nightlights data until 2021. The newer version v22 has 2022 data but follows a slightly different url pattern
I changed nightlights.py to get this v22 2022 data by adding the new version's url download format in this variable and also added some conditional statements for the code to choose the new url format when year=2022 is provided.
Current code only allows version v21 which only has nightlights data until 2021. The newer version v22 has 2022 data but follows a slightly different url pattern
I changed
nightlights.py
to get this v22 2022 data by adding the new version's url download format in this variable and also added some conditional statements for the code to choose the new url format when year=2022 is provided.