hydromt
hydromt copied to clipboard
throw index errors in all get_data methods if out of bounds
Some get_data and to_file methods of DataAdapter classes only give a warning and an empty object rather than an error when bbox or time_tuple is out of range. This may yield unclear error messages later on.
In general low-level functionality should have clear error messages, which can be escaped (try-except) in higher level methods where needed.