bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
build_dmrpp_util_h4.h
1// -*- mode: c++; c-basic-offset:4 -*-
2
3// This file is part of the Hyrax data server.
4
5// Copyright (c) 2022 OPeNDAP, Inc.
6// Author: James Gallagher <jgallagher@opendap.org>
7//
8// This library is free software; you can redistribute it and/or
9// modify it under the terms of the GNU Lesser General Public
10// License as published by the Free Software Foundation; either
11// version 2.1 of the License, or (at your option) any later version.
12//
13// This library is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16// Lesser General Public License for more details.
17//
18// You should have received a copy of the GNU Lesser General Public
19// License along with this library; if not, write to the Free Software
20// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21//
22// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
23
24#ifndef BES_BUILD_DMRPP_UTIL_H
25#define BES_BUILD_DMRPP_UTIL_H
26
27#include <string>
28
29
30namespace dmrpp {
31class DMRpp;
32}
33
34namespace build_dmrpp_util_h4 {
35
36#if 0
37void add_chunk_information(const std::string &h5_file_name, dmrpp::DMRpp *dmrpp);
38
39void inject_version_and_configuration(int argc, char **argv, const std::string &bes_conf_file_used_to_create_dmr, dmrpp::DMRpp *dmrpp);
40
41void inject_version_and_configuration(dmrpp::DMRpp *dmrpp);
42#endif
43
44void qc_input_file(const std::string &file_name);
45
46void build_dmrpp_from_dmr_file(const std::string &dmrpp_href_value, const std::string &dmr_filename, const std::string &h4_file_fqn,
47 bool add_production_metadata, bool disable_missing_data, const std::string &bes_conf_file_used_to_create_dmr, int argc, char *argv[]);
48
49extern bool verbose;
50}
51
52#endif //BES_BUILD_DMRPP_UTIL_H
Provide a way to print the DMR++ response.
Definition DMRpp.h:44