Skip to content

Commit 84bb40c

Browse files
committed
netcdf_handler: Disabing gridfields code...
1 parent 322b1c9 commit 84bb40c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Makefile.am

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ libnc_module_la_CPPFLAGS = $(BES_CPPFLAGS)
1919
libnc_module_la_LDFLAGS = -avoid-version -module
2020
libnc_module_la_LIBADD = $(BES_DAP_LIBS)
2121

22-
if USING_GRIDFIELDS
23-
libnc_module_la_CPPFLAGS += $(GF_CFLAGS)
24-
libnc_module_la_LIBADD += $(GF_LIBS)
25-
endif
22+
#if USING_GRIDFIELDS
23+
#libnc_module_la_CPPFLAGS += $(GF_CFLAGS)
24+
#libnc_module_la_LIBADD += $(GF_LIBS)
25+
#endif
2626

2727
NCTYPE_SRC = ncdas.cc ncdds.cc nc_util.cc \
2828
NCArray.cc NCByte.cc NCFloat64.cc NCGrid.cc NCUInt32.cc \
@@ -37,10 +37,10 @@ SERVER_SRC = NCRequestHandler.cc NCModule.cc
3737

3838
SERVER_HDR = NCRequestHandler.h NCModule.h
3939

40-
if USING_GRIDFIELDS
41-
SERVER_SRC += gridfields_functions.cc
42-
SERVER_HDR += gridfields_functions.h
43-
endif
40+
#if USING_GRIDFIELDS
41+
#SERVER_SRC += gridfields_functions.cc
42+
#SERVER_HDR += gridfields_functions.h
43+
#endif
4444

4545
EXTRA_DIST = data COPYRIGHT COPYING netcdf_handler.spec \
4646
nc.conf.in OSX_Resources

NCRequestHandler.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ bool NCRequestHandler::nc_build_dds(BESDataHandlerInterface & dhi)
247247

248248
dds->transfer_attributes(das);
249249

250-
#if GRIDFIELDS
250+
#if 0
251251
ConstraintEvaluator & ce = bdds->get_ce();
252252
ce.add_function("ugrid_restrict", function_ugrid_restrict);
253253
#endif
@@ -318,7 +318,7 @@ bool NCRequestHandler::nc_build_data(BESDataHandlerInterface & dhi)
318318

319319
dds->transfer_attributes(das);
320320

321-
#if GRIDFIELDS
321+
#if 0
322322
ConstraintEvaluator & ce = bdds->get_ce();
323323
ce.add_function("ugrid_restrict", function_ugrid_restrict);
324324
#endif

0 commit comments

Comments
 (0)