#!/usr/bin/env python

from gbmgeometry.utils.file_converters import make_image_hdf5
from gbmgeometry.utils.package_utils import get_path_of_data_file
import sys

level = float(sys.argv[1])

files = "earth_day.jpg earth_night.jpg earth_midnight.jpg thats_no_moon.jpg thats_no_moon_big.jpg".split()

for f in files:
     make_image_hdf5(get_path_of_data_file(f), get_path_of_data_file(f.replace('.jpg', '.h5')), detail_level=level)



