New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scn.load('C01') gives - TypeError #1344
Comments
Hmm I guess that wouldn't work for |
There is My argument for not supporting a single string is that I think we should limit how many inputs we accept. My worry is that if someone is passing a string there may be some other misunderstanding or misuse going on. Rather than producing an odd error later on we decided to produce this direct error. Believe it or not we used to not do this check and you would get an error later on about how Satpy couldn't load datasets |
Ah interesting. Welcome to close. |
Anyone feel free to disagree and provide your ideas. It doesn't have to be this way, but it seemed "safest" to me. |
I know I have to do
scn.load(['C01'])
.and if do
scn.load('C01')
I getCould you accept a string if the string is in
scn.available_dataset_names()
. i.e. under the hood call a list on the string so it's in the formatscene
likes?'C01'
->['C01']
. No idea if this will mess things up downstream.In addition,
show
accepts a stringscn.show('C01')
The text was updated successfully, but these errors were encountered: