'Satpy object has no attribute 'chunks'

I want to use satpy to plot same satellite images... I load the thataset with the Scene option and checked the file with:

mod02_scn.available_dataset_names()

this gives me the names of the MODIS channels:

['1',
 '10',
 '11',
 '12',
 '13hi',
 '13lo',
 '14hi',
 '14lo',
 '15',
 '16',
 '17',
 '18',
 '19',
 '2',
 '20',
 '21',
 '22',
 '23',
 '24',
 '25',
 '26',
 '27',
 '28',
 '29',
 '3',
 '30',
 '31',
 '32',
 '33',
 '34',
 '35',
 '36',
 '4',
 '5',
 '6',
 '7',
 '8',
 '9',
 'latitude',
 'longitude',
 'satellite_azimuth_angle',
 'satellite_zenith_angle',
 'solar_azimuth_angle',
 'solar_zenith_angle']

My question is now... if i want to load the one channel

mod02_scn.load(["1"],resolution=1000)

I get the following error:

AttributeError: 'numpy.ndarray' object has no attribute 'chunks'

so what is the correct name of the channel?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source