Hurricane Trami, September 28th 2018

In [1]:
from satpy import Scene, find_files_and_readers
from satpy.resample import get_area_def
from datetime import datetime
In [2]:
files = find_files_and_readers(start_time=datetime(2018, 9, 28, 6, 0),
                               end_time=datetime(2018, 9, 28, 6, 10),
                               base_dir="/data/h8",
                               reader='ahi_hrit')
In [3]:
scn = Scene(filenames=files)
In [4]:
rgbname = 'true_color'
scn.load([rgbname])
/home/a001673/.local/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Platform file /home/a001673/usr/src/satpy/satpy/etc/platforms.txt not found.
In [5]:
new_scn = scn.resample(scn.min_area(), resampler='native')
new_scn.show(rgbname)
/home/a001673/.local/lib/python3.6/site-packages/dask/local.py:271: RuntimeWarning: invalid value encountered in greater
  return func(*args2)
/home/a001673/.local/lib/python3.6/site-packages/dask/local.py:271: RuntimeWarning: invalid value encountered in less
  return func(*args2)
/home/a001673/usr/src/satpy/satpy/composites/__init__.py:1201: RuntimeWarning: Mean of empty slice
  data_mean = np.nanmean(av_data.reshape(new_shape), axis=(1, 3))
/home/a001673/.local/lib/python3.6/site-packages/dask/local.py:271: RuntimeWarning: invalid value encountered in greater_equal
  return func(*args2)
/home/a001673/.local/lib/python3.6/site-packages/dask/local.py:271: RuntimeWarning: invalid value encountered in log10
  return func(*args2)
Out[5]: