Input then mine information from an interactive website

Using the following interactive website I would like to find the values of density (rho) and sound speed (SS) using temperature (T) and salinity (S) values:
I have two rows of temperature and salinity data, which are found as the mean value every n meters (depth) from imported S and T data
Smean_every_n =
33.6810 34.0003 34.2564 34.4616 34.5831 34.6500 34.6811 34.6931 34.7084
and
Tmean_every_n =
0.9128 -1.2874 -0.1029 0.8653 1.3966 1.6469 1.6917 1.6038 1.5909
For each value in Tmean_every_n, I would like to find rho and SS at each S value and vice versa
I have done this by hand so far, practically this means:
  • Go to website
  • keep salinity constant at 33.6810
  • enter each Tmean_every_n value
  • copy resulting c and rho values into an array in the matlab script.
This gives me
rho_fT_S1=[1026.99 1027.094069 1027.046483 1026.99324 1026.958692 1026.941131 1026.937901 1026.944213 1026.945131]
Then by changing salinity to 34.0003 (i.e. the second Smean_every_n value), and looping over the T values again I get
rho_fT_S2=[1027.247139 1027.353168 1027.30434 1027.250123 1027.215056 1027.197253 1027.193981 1027.200377 1027.201307]
etc. I have done the vice versa by keeping T constant and looping through the S values. As you can imagine, this took a while by hand.
-- Is it possible to repeat this process using some from of web mining, maybe webread?

Answers (0)

This question is closed.

Asked:

K G
on 16 Jun 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!