Chapter Two

Ocean dimensions, shapes and bottom materials

Example 2E: DPO Extra Topic; Making a .joa file

Files that may be needed or created in this example:

  • mycity.joa

Exercise 2E-01: Ocean Maps - Plot Your City's Location

Here we show you how to make your own JOA data file, similar to SIO.joa, yet in this case a data file with the location of your choice city.

  • Look up the latitude and longitude of a city either with a global map or online resource. See Resources for helpful links. For example, see http://go.hrw.com/atlas/norm_htm/oceans.htm
  • Convert the latitude and longitude to decimal degrees, using the JOA sign conventions. For example, the latitude 13° 43.7' S will be written as -13.72 in decimal degrees with this convention.
  • Substitute the name of the city, its latitude, and its longitude, for 'SANDIEGO', '32.74', and '-117.16', respectively, in the example below, writing these lines into any text/word processor:

    STATION <tab> LATITUDE <tab> LONGITUDE <tab> PRES <carriage return> SANDIEGO <tab> 32.74 <tab> -117.16 <tab> 1.0 <carriage return>

    The use of <tab> in the above denotes a tab character and <carriage return> denotes a carriage return.

  • Save this two-line file as a plain text file with the name mycity.jos, or any other name with the suffix .jos.
  • Start Java OceanAtlas (on most computers by double-clicking on its icon).
  • File → Open…mycity.jos
  • The Java OceanAtlas Spreadsheet Import Options dialog box will open up, and look approximately like this:

    target

    FIG 2e-01 Java OceanAtlas Spreadsheet Import Options dialog box

  • You can simply click on OK, because the JOA default settings are fine for this data file. After clicking on OK, the JOA Data window will open up. It will look approximately like this:

    target

    FIG 2e-02 Java OceanAtlas Data Window

  • NOTE:
    The JOA Data Window contains:
    • A data display of all measured and calculated data (keyed to current x-z location in the data)
    • The current color bar (with arrow indicating color for current x-z location)
    • A section display illustrating all data points in current section(s)
  • You are now ready to work with this simple data set in Java OceanAtlas!
  • To save your new data file, select Save As… under the JOA File menu, and use the Save data as: dialog box to rename your file (if you wish) and save it to whatever location on your computer you wish.
  • Following the instructions in Exercise 2A-02 for starting JOA, opening a data file, and making a Mercator world map, make a map plot showing the location of your chosen city.


<p>This exercise of making your own JOA text data file, opening it in JOA, and making a map from it may help you to understand the essential elements of a JOA text data file.  In the JOA User Guide (found in the <%= link_to "JOA application", "/joa" %> tab) you will find further information about making your own data files that JOA can read.</p>


<p><b>Additional Resources: </b></p>

Holt, Rinehart and Winston maps: http://go.hrw.com/atlas/norm_htm/oceans.htm

Google Earth application: http://earth.google.com/

Astro Dienst (Find longitude & latitude of a city): http://www.astro.com/atlas

Copyright © 2011 Elsevier Inc. All rights reserved.
Top of the page