Open external MODIS geolocation product

14 views
Skip to first unread message

nevermind

unread,
Jul 6, 2022, 2:37:09 PM7/6/22
to pytroll
Hi everybody,

I am trying to load the "cloud_top_height_1km" data set from a MOD06 HDF-file using the code modis.load["cloud_top_height_1km"]. This gives me the following error:

KeyError: "Unknown datasets: {DataQuery(name='cloud_top_height_1km')}"

I thought that this might be because this data set is classified as an "external MODIS geolocation product", instead of "internal geolocation arrays", but I have be able to open some other "external MODIS geolocation products" like cloud_effective_radius without any problems with the same code.

Any ideas, why satpy is unable to find this particular data set?
- Jasper

David Hoese

unread,
Jul 6, 2022, 2:40:02 PM7/6/22
to pyt...@googlegroups.com
Hi,

Satpy puts this variable under the "cloud_top_height" name along with
the 5km variant of the variable "Cloud_Top_Height". You can see the
configuration of that product here:

https://github.com/pytroll/satpy/blob/bafe54e1d3c598f1d70b616e8d27bb2b25c62190/satpy/etc/readers/modis_l2.yaml#L193-L203

Bottom line, load `cloud_top_height` and it should work.

Dave
> --
> You received this message because you are subscribed to the Google
> Groups "pytroll" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pytroll+u...@googlegroups.com
> <mailto:pytroll+u...@googlegroups.com>.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/pytroll/120fe23e-19a9-415d-b60a-aabfbe0259f1n%40googlegroups.com
> <https://groups.google.com/d/msgid/pytroll/120fe23e-19a9-415d-b60a-aabfbe0259f1n%40googlegroups.com?utm_medium=email&utm_source=footer>.

nevermind

unread,
Jul 7, 2022, 3:32:37 AM7/7/22
to pytroll
Perfect, thanks!

- Jasper
Reply all
Reply to author
Forward
0 new messages