Project

General

Profile

Task #12927

Updated by Fabio Sinibaldi over 6 years ago

We need to modify provisioning tasks in order to satisfy some AquaMaps custom WMS configuration. The following operations need to be performed : 

 1. Edit the file "<thredds_content>"/wmsConfig.xml (as in provided example attachment): 
 

 The following xml snippet must be inserted as last child of element "wmsConfig/overrides" if not already present. 
 

 ` <datasetPath pathSpec="public/netcdf/AquaMaps*/*.nc"> 
             <pathDefaults> 
                 <defaultColorScaleRange>0 1</defaultColorScaleRange> 
                 <defaultPaletteName>aquamaps</defaultPaletteName> 
                 <defaultNumColorBands>5</defaultNumColorBands>                 
             </pathDefaults> 
         </datasetPath>` 
 

 2. Unzip the archive in attachment into folder <thredds_content>/customPalettes 
 3. Edit the file "<thredds_content>"/threddsConfig.xml :  
    The following snippet must be inserted as last child of "threddsConfig/WMS" 
    `<paletteLocationDir>customPalettes</paletteLocationDir>`

Back

Add picture from clipboard (Maximum size: 8.91 MB)