You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for the product "GLDAS Noah Land Surface Model L4 monthly 0.25 x 0.25 degree V2.1 (GLDAS_NOAH025_M)" for a polygon containing Colombia (bounding_box=(-80.947, -5.872, -65.479, 14.518)), using the function "earthaccess.search_data". However, when downloading with the function "earthaccess.download", the product is downloaded for the whole planet and not for the region of Colombia.
Thank you for your cooperation.
This is the code I am using:
importearthaccessimportosimportxarrayasxrfrompyprojimportCRSauth=earthaccess.login()
#username: xxxxx#password: xxxxx#Searching for dataresults=earthaccess.search_data(
#short_name="GLDAS Noah Land Surface Model L4 monthly 0.25 x 0.25 degree V2.1 (GLDAS_NOAH025_M)",doi="10.5067/SXAVCZFAQLNO",
cloud_hosted=True,
bounding_box=(-80.947, -5.872, -65.479, 14.518),
temporal=("2009-01-01", "2009-12-31"),
)
data_links= [granule.data_links(access="external") forgranuleinresults]
files=earthaccess.download(results, "D:/CURSO_R_PYTHON/series_tiempo_ml/descargas")
The text was updated successfully, but these errors were encountered:
Hi @riesgutierrez, the issue here is that earthaccess doesn't support subsetting services yet. This is a global dataset so any bounding box will match any of the files in the collection. We are in the process of integrating subsetting services like OPeNDAP, NASA's Harmony etc to have that capability in the library.
I am looking for the product "GLDAS Noah Land Surface Model L4 monthly 0.25 x 0.25 degree V2.1 (GLDAS_NOAH025_M)" for a polygon containing Colombia (bounding_box=(-80.947, -5.872, -65.479, 14.518)), using the function "earthaccess.search_data". However, when downloading with the function "earthaccess.download", the product is downloaded for the whole planet and not for the region of Colombia.
Thank you for your cooperation.
This is the code I am using:
The text was updated successfully, but these errors were encountered: