[Thread Prev][Thread Next][Index]

adding vectors FAQ out of date



The html document at this address:
http://ferret.pmel.noaa.gov/Ferret/LAS/FAQ/adding_vectors.htm

describes how to add vector variables to LAS.

If the directions are followed you get this error message when you
run make:

Warning: Variable 'Current Speed Vectors' uses the 'js' attribute.
    Custom JavaScript is no longer supported.


The problem configuration on that page is:
  <composite>
   <wind_vectors name="Wind vectors" js="VecVariable">
    <link match="../../variables/uwnd"/>
    <link match="../../variables/vwnd"/>
   </wind_vectors>
  </composite>


looking at the example coads.xml file, the new configuration for
vectors is:
  <composite>
   <wind_vectors name="wind vectors">
    <properties>
    <ui>
     <default>file:ui.xml#VecVariable</default>
    </ui>
   </properties>
    <link match="/lasdata/datasets/coads_climatology_cdf/variables/uwnd"/>
    <link match="/lasdata/datasets/coads_climatology_cdf/variables/vwnd"/>
   </wind_vectors>
  </composite>


I hope it's easy to update the faq.

-brandon



[Thread Prev][Thread Next][Index]

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