Closed ha0ye closed 4 years ago
Thanks. The develop version of updateInventory()
is now able to cope with the expired certificate using curl functionality. As a consequence, online file retrieval from ECOCAST is re-enabled.
I also implemented your PR. gimms:::updateNasanex()
now returns the correct online file path, which comes in handy if ECOCAST cannot be reached.
Once r-winbuilder checks are satisfied, I'll push these changes to CRAN.
Since the security certificate for NASA ecocast expired on 2020-03-15,
gimms
uses the fallback nasanex AWS server.The
updateNasanex()
function seems to return the directory contents ok, but it doesn't have the server name prefixed:which is an issue, since
downloadGimms
tries to use the paths as given for downloading.A simple fix is to replace the return from
updateNasanex()
(line 113 ofupdateInventory.R
) with: