[Thread Prev][Thread Next][Index]

Re: adding vectors FAQ out of date



Brandon,
Thank you for pointing this out. We actually have a note on our task list to add this to our new FAQ-O-MATIC documentation pages. It's always good to have the extra eyes of the LAS community to catch things like this though.
Thank you,
Joe
------------------------------------
Brandon Casey wrote:

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