[Thread Prev][Thread Next][Index]

Re: live acess srver problems



Bhushan,

Rob Cermak has already answered your question about in-situ datasets.  I'll add some information about customizing the interface.  There are two possibilities:

1) You can configure the standard LAS user interface to present additional constraints that will be used when accessing data from your mysql database.  Documentation for this is given here:
http://ferret.pmel.noaa.gov/LASdoc/serve/cache/53.html
2) In LAS 6.5, due out in beta any day now, we provide an example of how to create a completely independent user interface that uses javascript methods to construct a valid LAS Request.  I've attached the javascript code and an example page that uses it.  (Note_ You'll have to modify inputForm.action in LASRequest.html before it will access data from your server.)  You can find documentation on using the javascript code here:
http://ferret.pmel.noaa.gov/LASdoc/serve/cache/55.html
I'd strongly recommend that you begin by making sure that LAS can access the data in your database and generate the appropriate output products from it.  It may be more involved than you currently imagine.  Only after that initial success would I begin modifying the user interface.


-- Jon


bhushan gaude wrote:

Sir,

 

I have stored some data about the buoys such as  buoyid(primary key), date, latitude ,longitude,sst etc. in mysql database.

I want to design my own  las gui that will provide following facilities to the user.

 

1)To select buoyid, date on the interface and on clicking some button on the interface I want the corresponding data tobe extracted from the database that match the criteria of extraction.

 

2)I want to give this resulting extracted  data tobe  input to ferret so that it can plot the required graph for me.

 

 

    So plz tell me in detail how to go about doing this? i.e after modifying the interface as per my requirement how I can program the buttons on the interface so that it can perform operation specified above. How to embed queries and to invoke ferret, do I need to convert  the extracted data to netcdf format before giving it as a input to ferret?

 

 

I have tried to modify the VM_global….vm file  but I could modify only the banner part .Tell me how to modify the part of the las interface on L.H.S. side which contains following fields :datasets,variables,constraints,output, About   etc. 

        

 

        Bhushan

Yahoo! India Matrimony: Find your life partner online.

Attachment: LASRequest.js
Description: JavaScript source

Don't you wish you were here?

Molokai

Check out the annual climatology for Molokai

Choose a variable:
Air Temperature
Sea Surface Temperature
Wind Speed
Choose a product:
Plot
Table
 
   

[Thread Prev][Thread Next][Index]

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