class_docstr: Special dictionary object that can handle dict operations based on dataset name, wavelength, or DataID.
  
  Note: Internal dictionary keys are `DataID` objects.
class_docstr_tok: ["Special","dictionary","object","that","can","handle","dict","operations","based","on","dataset","name",",","wavelength",",","or","DataID",".","Note",":","Internal","dictionary","keys","are","`","DataID","`","objects","."]
docstr: Give currently contained keys.
docstr_tok: ["Give","currently","contained","keys","."]
code: def keys(self, names=False, wavelengths=False):
      """Give currently contained keys."""
      # sort keys so things are a little more deterministic (.keys() is not)
      keys = sorted(super(DatasetDict, self).keys())
      if names:
          return (k.get("name") for k in keys)
      elif wavelengths:
          return (k.get("wavelength") for k in keys)
      else:
          return keys
  
file_path: satpy/satpy/dataset/data_dict.py
imports: import numpy
  from .dataid import DataID, create_filtered_query, minimal_default_keys_config
label_desc: Use image node_id 1 for calling the DatasetDict obj's underlying member method code with example usage: obj.keys(names, wavelengths) and returns: unknown, unknown, keys