still need to modify datareader to use netcdf on only one thread

This commit is contained in:
Robin committed 2024-12-23 20:48:00 +01:00
1 parent a7ad248c38
commit 7b3c87c656
11 files changed
+487 -77

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
#ifndef DATAREADER_H
#define DATAREADER_H
#include <string>
#include <experimental/propagate_const>
#include <memory>
#include "filepathmanager.h"
class DataReader {
public:
DataReader(const std::string &path, std::string variableName);
size_t fileLength(size_t fileIndex);
template <typename T>
void loadFile(T* dataOut, size_t fileIndex);
~DataReader();
private:
FilePathManager filePathManager;
std::string variableName;
};
#endif //DATAREADER_H
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.