4 #include "netcdfimportdesc.h" 5 #include "datadownloaddesc.h" 16 const constexpr
auto TOMCAT_BIN_DIR{
"/opt/tomcat9/bin" };
21 const constexpr
auto NAVIGATOR_FRONTEND_DIR{
"/opt/Ocean-Data-Map-Project/" };
29 const QString Filename;
38 NODISCARD
bool FileExists(
const QString& path);
41 void ClearPythonCache();
45 void CreateDir(
const QString& path);
49 void RemoveDir(
const QString& path);
53 NODISCARD QString FindTimeDimension(
const QString& netcdfFilePath);
62 CopyFilesRunnable(
const QString threddsContentDir,
const bool removeSourceFiles, QVector<NetCDFImportDesc>&& fileList);
67 void progress(
const qint64 percentDone);
68 void finished(
const QStringList failedFiles);
71 const QString m_contentDir;
72 const bool m_removeSourceNCFiles;
73 const QVector<NetCDFImportDesc> m_fileList;
Definition: ioutils.cpp:17
Copies (or moves) netCDF files to the THREDDS directory.
Definition: ioutils.h:58
Holds info needed to download a dataset from the remote server.
Definition: datadownloaddesc.h:11
Location of Tomcat bin/ folder.
Definition: ioutils.h:27