[Thread Prev][Thread Next][Index]

Re: the option "land fill style" of RDB data is not work



Thank you, Jon.
Could you teach me offline how to get land style output?
CCH,

Your timing with this question is very appropriate.  Right now it is disturbingly difficult to add the simple "land style" option you desire for the insitu plots.  I can show you offline how to get what you want if it is very important but it will be more work than it is perhaps worth.

On the positive side, we have begun the process of rewriting the driver for Ferret (Ferret.pl) and associated scripts and templates so that it will be extremely easy to make such changes in the future.  It is my intention to have these code changes in the spring release of LAS as beta code for folks to try out.  I would recommend against doing a lot of customizing of the current code unless you have very demanding customers.

Sorry to disappoint you with my "not yet" answer but what you request is high on our group and on my personal priority list.


-- Jon


cch wrote:
Dear all,
 
There are two data types in our LAS site, NetCDF and RDB (MySQL) data.
When I select NetCDF data, I can change the "land fill style" option to "Outline", and get a contour output.
But if I select  RDB data, it's no "land fill style" option.
Therefore, I modified the insitu_options.xml file as following.
 
<optiondef name="Options_insitu">
     <option>
     <help>Chose the image format.</help>
     <title>Image format</title>
     <menu type="options" name="insitu_image_format">
        <item values="default">Default</item>
        <item values="gif">GIF</item>
        <item values="ps">PostScript</item>
     </menu>
     </option>
<!-- This option is added by cch at 2004/11/29 -->
<!-- Copied from ui.xml -->
      <option>
        <help>Style for drawing continents. Only applies to XY plots.
            Choices are:
            &lt;ul>&lt;li>&lt;b>Default&lt;/b> -- let LAS decide
            &lt;li>&lt;b>None&lt;/b> -- don\'t draw continents
            &lt;li>&lt;b>Outline&lt;/b> -- draw continent outlines
            &lt;li>&lt;b>Filled&lt;/b> -- draw filled continents
            &lt;/ul>
        </help>
        <title>Land fill style</title>
        <!-- <menu type="options" name="land_type"> -->
        <menu type="options" name="insitu_land_type">
          <item values="default">Default</item>
          <item values="none">None</item>
          <item values="contour">Outline</item>
          <item values="shade">Filled</item>
        </menu>
      </option>

</optiondef>
 
After refresh MetaData DB, I can choose "land fill type" option to "Outline" with RDB data,
but the result output is the same.
This had no effect.
 
I also tried to add following line in RDB's dataset XML file.
 
<properties>
  <ui>
    <!--<default>file:ui.xml#insituSurface</default>-->
    <default>file:ui.xml#insituProfile</default>
  </ui>
  <land_type>contour</land_type>
  <database_access name="MySQL">
    <db_type>amdp_2_tables</db_type>
    <db_name>amdp</db_name>
    <db_title>temp</db_title>
    <db_host>172.16.20.35</db_host>
    <db_login>guest</db_login>
    <db_passwd></db_passwd>
    <db_table>lusd,lusm</db_table>
 
But it's also not work.
 
My question is how to produce contour GIF file of RDB data?
I think these are Ferret parameters, how do I modify it?
Thank very much.
 
 

[Thread Prev][Thread Next][Index]

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