#-----------------------------------------------------------------------# # OPeNDAP NCML Data Handler BES Module Configuration file # #-----------------------------------------------------------------------# #-----------------------------------------------------------------------# # Require dap configuration to be loaded first # #-----------------------------------------------------------------------# BES.Include=dap.conf #-----------------------------------------------------------------------# # modules to load, includes data modules and command modules # #-----------------------------------------------------------------------# BES.modules+=ncml BES.module.ncml=/usr/lib64/bes/libncml_module.so #-----------------------------------------------------------------------# # Setting the data information #-----------------------------------------------------------------------# # The TypeMatch parameter is a list of handler/module names and a regular # expression separated by a colon. If the regular expression matches an item, # then the BES uses the associated handler/module. Each : pair is followed by a semicolon. This is used when creating # containers in the BES (the 'set container' command). The example regular # expression says to use the 'h4' handler for any file with an extension of # 'hdf', 'HDF' or 'eos' which may also end in '.gz' or '.bz2'. In the latter # case the file will be treated as a compressed file. # BES.Catalog.catalog.TypeMatch=nc:.*\.(nc|NC)(\.gz|\.bz2|\.Z)?$;h4.*\.(hdf|HDF|eos)(\.gz|\.bz2|\.Z)?$; # To test your TypeMatch regular expression you can use besregtest as # follows: # % besregtest type # "nc:.*\.nc$;nc:.*\.nc\.gz$;" fnoc1.nc # expression ".*\.(nc|NC)(\.gz|\.bz2|\.Z)?$" matches exactly, type = nc BES.Catalog.catalog.TypeMatch+=ncml:.*\.ncml(\.bz2|\.gz|\.Z)?$; #-----------------------------------------------------------------------# # NCML module specific parameters #-----------------------------------------------------------------------# #-----------------------------------------------------------------------# # NcML Aggregation Dimension Cache Parameters # #-----------------------------------------------------------------------# # Directory into which the cache files will be stored. NCML.DimensionCache.directory=/tmpdata/bes # Filename prefix to be used for the cache files NCML.DimensionCache.prefix=ncml_dimension_cache # This is the size of the cache in megabytes; e.g., 2,000 is a 2GB cache NCML.DimensionCache.size=2000 # Maximum number of dimension allowed in any particular dataset. # If not set in this configuration the value defaults to 100. # NCML.DimensionCache.maxDimensions=100