Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/dmrpp_module/build_dmrpp_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2521,8 +2521,8 @@ void qc_input_file(const string &file_fqn)
else {
stringstream msg;
msg << "The provided file: " << file_fqn << " - ";
msg << "is neither an HDF5 or a NetCDF-4 file, currently only HDF5 and NetCDF-4 files ";
msg << "are supported for dmr++ production" << endl;
msg << "is neither an HDF5 nor a NetCDF-4 file. If the file is an HDF4 file, ";
msg << "you can use gen_dmrpp_side_car -i h.hdf -H to generate the dmrpp file." << endl;
throw BESInternalFatalError(msg.str(), __FILE__, __LINE__);
}
}
Expand Down
5 changes: 4 additions & 1 deletion modules/dmrpp_module/get_dmrpp/gen_dmrpp_side_car
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,10 @@ def main():
err_msg += "\n The HDF4 file name is: " + hdf_full_path
print_error(err_msg)
else:
if (args.c is True):
if (args.DisableSideCar is True):
err_msg = "Currently the dmrpp generation for an HDF5 file with the DisableSideCar option is not supported. "
print_error(err_msg)
elif (args.c is True):
if (args.URL is not None):
ret = subprocess.run(
["get_dmrpp_h5", "-i", hdf_full_path, "-u", hdf_url, "-C"],
Expand Down
Loading