-
Notifications
You must be signed in to change notification settings - Fork 293
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
Confusing documentation for creating a Scene without a filename or reader #2836
Comments
I'm really confused by that example code. The old Dataset didn't have anything to do with xarray, but this code is passing a DataArray apparently. |
The example code is taken from the Scene documentation. I am also confused by the documentation code. Not certain if the "Dataset" referred to a Dataset from xarray, I used both
and with a dtype in the attrs among other things like the crs and a dataset name.
Creates a Scene and a dataset that looks kind of right?
However, raises an exception (I am assuming because I am using an xarray Dataset, rather than the Dataset that was intended in the documentation):
|
So a Scene should only ever contain |
Sorry, I had missed the "to_xarray" mention. |
works. So maybe it is just clarifying the old documentation? |
Yeah it is likely as simple as changing |
The documentation in the Scene code indicates that a Scene object can be created without a filename or reader. The documentation refers to a Dataset, which looks like the nomenclature used to refer to an xarray Dataset. However, the "Dataset" in
Is referring to a Dataset object that preceded the use of xarray in SatPy, and the documentation itself should have been purged.
The text was updated successfully, but these errors were encountered: