Function lupnt::DownloadLolaDem¶
Defined in File lola_dem.h
Function Documentation¶
-
std::filesystem::path lupnt::DownloadLolaDem(const std::string &site_id)¶
Download (and cache) a site’s 5 m/pixel surface DEM GeoTIFF from NASA PGDA.
The file is cached at
GetDataPath()/dem/LOLA_5mpp/<site>/<site>_final_adj_5mpp_surf.tif; if that already exists it is returned without any network access. Downloads use the samecurl -fsSLidiom as the other lupnt loaders (sp3_loader,eop,spice) and are disabled when the environment variableLUPNT_SKIP_DEM_DOWNLOADis set truthy (in which case a missing cache throws).- Parameters:
site_id – PGDA site folder id (e.g. “Site01”).
- Returns:
Local filesystem path to the cached GeoTIFF.