USDA-ARS-NWRC / weather_forecast_retrieval

Weather forecast retrieval gathers relavant gridded weather forecasts to ingest into physically based models for water supply forecasts
Other
6 stars 1 forks source link

SMRF not working with qrequests subprocess #8

Closed scotthavens closed 5 years ago

scotthavens commented 5 years ago

The qrequests module uses it's own subprocess module that over shadows the Python subprocess module, which SMRF uses to call shell routines. It's a well documents qrequests problem and even the maintainers of qrequest say to use something else.

The solution is to use just a standard ThreadPool and the requests module since it's a fairly simple use case.

scotthavens commented 5 years ago

Not using grequests anymore and has been merged into master.