[Thread Prev][Thread Next][Index]

Re: Category Error-Multiple listings of same variable



                Hi Robin,

If you have 2 copies of each variable, it's because you must specify a constraint "contains" to filter the data. I can see that in your "category.xml" there is no "contains. The filter is applied on the name of the dataset in the LAS configuration. So for example, the dataset red in the configuration must have a name like "TOPAZ best_agg", so it can pass the first filter with "TOPAZ" and the second with "best_agg".
Please see a part of my category file. You can put a lot of xml level if you want.

<las_categories>
 
                                        <!-- **********    ATLANTIC ZONE *************** -->
        <category name="ATLANTIC">
                <filter action="" contains="Atlantic">
 
                                         <!-- **************   TOPAZ ***************  -->
                        <category name="TOPAZ" doc="">
                                <filter action="" contains="TOPAZ">
                                        <category name=" TOPAZ long term best estimate time serie " doc="">
                                                <filter action="" contains="best_agg"/>
                                        </category>
                                        <category name="TOPAZ all forecast bulletins" doc="">
                                                <filter action="" contains="fc_agg"/>
                                        </category>
                                </filter>
                        </category>
            </filter>
       </category>
</las_categories>

Hope it will help you.
Tony

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tony Jolibois
CLS, Direction Océanographie Spatiale
Tel: (+33) (0) 561 393 797
Internet: http://www.cls.fr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


At 13:52 01/10/2003 -0400, Robin Kovach wrote:
Hi all,

I had sucess using the category.xml file for one dataset with subcategories.
But now I have more than one dataset but they happen to have the same
variables (SST, SSH, and HC). So when my LAS gets to the variable listing I'm
getting 2 copies of each variable.

Any ideas? Or this there any more detailed description (other than the
Customizing LAS documentation) for embedded categories? Is it possible to have
more than 2 levels of hierarchy?

My site is at http://nsipp.gsfc.nasa.gov:8080/las/servlets/dataset

My category.xml file is
<las_categories>
     <category name="ODASI Global Analysis">
        <category name="All Tao" doc="">
          <filter action="">         </category>            
    </category> 
     <category name="XBT03 Global Analysis">
        <category name="All Tao" doc="">
         <filter action="">         </category>            
    </category> 
        
</las_categories>  

Thank you,

Robin Kovach    

--
This message has been scanned for viruses and dangerous
content by MailScanner, and is believed to be clean.

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement