WSWUP / pymetric

Python implementation of the METRIC model
Apache License 2.0
32 stars 15 forks source link

Data Preparation sources have changed #77

Open vbhvcrpn opened 4 years ago

vbhvcrpn commented 4 years ago

The download sources for NED, NLCD, and NLDAS Ancillary data and formats seem to have changed. I was not able to prepare to pass the 'Data Preparation' step and proceed to the next step.

cgmorton commented 4 years ago

I know this issue is a little "stale" but while working on an update to fully switch the code over to Python 3 and GDAL 3+ (#79) I think I have fixed all of the issues associated with downloading the ancillary data.

dgketchum commented 4 years ago

I was unable to download NLDAS ancillary data using nldas_ancillary.py. nldas/_utils.py gets a 404 response on line 50, using the current url: 'http://ldas.gsfc.nasa.gov/nldas/asc/gtopomean15k.asc'.

Should this be refactored to use https://ldas.gsfc.nasa.gov/sites/default/files/ldas/nldas/NLDAS_elevation.nc4, etc?

Cheers,

cgmorton commented 4 years ago

I fixed this in the Python 3 branch (https://github.com/WSWUP/pymetric/tree/python3). Would you mind giving that a try?

adedejioluwatola commented 1 year ago

@cgmorton i am having similar issues with the data path. how did you go about it? thank you