Summary: The two new functions, get_deterministic_forecast_watershed_IO and get_ensemble_forecast_watershed_IO, allow for pulling forecast data from the CNRFC website exactly as is (i.e., a CSV file). These methods circumvent the parsing that is done using pandas. The function ensures the default filenames mirror the filenames on the CNRFC website, and when provided with None as the path entry, these functions will set the default path to the local folder in which the script calling this method is located. Lastly, the script does not pull the last available forecast when the indicated one is not available.
Tests: Try on non-Windows OS. And test out some bad inputs.
Summary: The two new functions, get_deterministic_forecast_watershed_IO and get_ensemble_forecast_watershed_IO, allow for pulling forecast data from the CNRFC website exactly as is (i.e., a CSV file). These methods circumvent the parsing that is done using pandas. The function ensures the default filenames mirror the filenames on the CNRFC website, and when provided with None as the path entry, these functions will set the default path to the local folder in which the script calling this method is located. Lastly, the script does not pull the last available forecast when the indicated one is not available.
Tests: Try on non-Windows OS. And test out some bad inputs.
This pull request closes #59 .