nsrdb.utilities.file_utils.get_conversion_list

get_conversion_list(path4, path5)[source]

Get a list of hdf/h4 files to convert with source/target entries.

Parameters:
  • path4 (str) – Path of directory containing hdf4 files to be converted. Files with .hdf or .h4 extensions in this directory will be converted.

  • path5 (str) – Path of target directory to dump converted hdf5 files (directory structure matching path4 will be created).

Returns:

conversion_list (list) – List of paths and files to convert for input to convert4to5. Format is: conversion_list = [[path4, f_h4, path5, f_h5], …]