Hosted by "1PLs Agency"

Marine Data Literacy

Providing instruction for managing, converting, analyzing and displaying oceanographic station data, marine meteorological data, GIS-compatible marine and coastal data, and mapped remote sensing imagery

 

Up
9.1 IDV Setup
9.2 3X SST
9.3 WW3 Waves
9.4 ColorWeb
9.5 GlobWaves
9.7 MET.NO Ice
9.8 AVISO SSH
9.9 HYCOM Download
9.10 HYCOM Direct
9.11 Panoply/Google
9.12 IDV/Google
9.13 GFS Meteo
9.14 Cyclone Paths
9.16 AVISO Waves
9.17 ASCAT Winds
9.18 Optics/Pigments
9.19 NOGAPS Meteo
9.20 Coriolis Profiles
9.21 MODIS Images
9.22 Aquarius SSS
9.23 GDP Tracks
9.24 GlobColour
9.26 MIRAS Salinity
9.27 MODIS Optics
9.28 Marine Weather
9.29 Recent Precip
9.30 Cyclone Grids
9.31 RTOFS Model
9.32 JTWC Cyclones
9.33 NMOC Gallery
9.34 JPL/MUR SST
9.35 Tide Forecasts
9.36 OSCAR Currents
9.37 Global Stations
9.38 Trajectories
9.39 Mercator/PISCES
9.40 Time Series
9.41 RapidScat Winds

Home > 9. Operational/Synoptic > 9.9 HYCOM Download

9.9 Visualizing Ocean Model Scalars & Vectors in IDV: HYCOM Download

 

  • Exercise Title:  Visualizing Ocean Model Scalars & Vectors in IDV: HYCOM Download

  • Abstract:  In this exercise you'll search for and download manageable subsets from huge model grids (in NetCDF format), and visualize them in IDV.  A scalar grid illustrates how single parameters, temperature in this example, can be displayed.  Vector quantities, on the other hand, require two grids (U and V component vectors) which must be combined in IDV to create the expected current arrows.  In many respects this exercise has been superceded by 9.10 which avoids any downloading and takes advantage of direct connections through THREDDS.  There are, however, many reasons to obtain the desired file grid for local use in systems simpler than IDV, hence the retention of this "classical" method.

  • Preliminary Reading (in OceanTeacher, unless otherwise indicated):

  • Required Software:

  • Other Resources: 

  • Author:  Murray Brown

  • Version:  11-26-2014

1.  Open the HYCOM main website and take a few minutes to read about the whole program and its achievements.
2.  Just below this welcome, on the same page, you can read an overview of the 3 major data product lines available.  We're most interested in the first of these.

3.  Click on the DATA SERVER link at the top of the page.  But don't click on any of the 3 sub-links that appear.

 

This is actually the same link as the HYCOM Data Servers link in the prefatory materials above; it's just a bit awkward to find, so we wanted to show you the single place where it is actually found in the website.

4.  A long page with many sections appears.  Near the bottom you'll find these 6 access method links.  We're going to use the highlighted one, NCSS; the link is actually clickable here also.

Click on the NCSS link.  This begins a sequence of 4 necessary menu pages that all lead to the data you want.

Access Method

5.  Not shown on this page or the next ones, there is a useful gloss on a different HYCOM explaining the filename codes A and U for the datasets to follow:
  • GLBa0.08 - "a files"

    Native hycom .[ab] data converted to NetCDF on native Mercator-curvilinear HYCOM horizontal grid and interpolated to 33 z-levels. Eleven fields are provided: surface water flux, mld (ILT), mlp (MLT), surface heat flux, sea surface height, surface salinity trend, surface temperature trend, salinity, potential temperature, u-velocity, and v-velocity.

  • GLBu0.08 - "u files"

    Native hycom .[ab] data converted to NetCDF interpolated to a uniform 0.08 degree lat/lon grid between 80.48S and 80.48N and interpolated to 40 standard z-levels. Five fields are provided: SSH, eastward velocity, northward velocity, in-situ temperature, and salinity.f

We would prefer to work with the U files, for the sake of simplicity, but in the links below only the A files are actually served up by the NCSS.  The U files are globally aggregated, and defeat the purpose of this exercise.

6.  Click on the NCSS URL.
7.  Click on GLBA0.08/EXPT 9.1 (LATEST 10 DAYS) WITH FORECASTS in the first group of experiments.

 

NOTE:  Of course you may chose the second item, if you want a longer time period.  These instructions are just suggestions.

8.  Click on ALL LATEST DATA AT 00Z.

What do these acronyms (e.g. MLT) mean?  See below. 

9.  Click on the NETCDF SUBSET link.

10.  This is the actual NCSS form.  It is quite large, so we'll work with the separate sections, beginning with the choice of parameters which you see here:

  • We've checked TEMPERATURE and the U and V current velocity components.

]\

11.  In the SPATIAL SUBSET area, we enter the familiar coordinates for Liberia (or whatever you want.

NOTE:  The graphic interface seems perfectly happy with several different range schema for the longitudes, including 0-360.

12.  Enter an integer value for HORIZONTAL STRIDE if you want to obtain a subset, e.g. 3 = every third point.  Check the box if you want to disable a previous non-zero value.

Leave it untouched to get all points.

13.  For TIME SUBSET, set the range you desire.  You can also use striding (as above) for obtaining a temporal subset.

Leave it untouched to get all times.

14.  For VERTICAL LEVEL, insert whatever values you want from the complete list seen in the panel above.

Leave it untouched to get all levels.  But watch out for a huge number of separate level objects in Saga, if that's your intended display platform.

15.  The resulting file will be fine for IDV and ncBrowse plotting, without additional LAT and LON variables.  But you may need these for some purposes, and if so you should check the ADD LAT/LON control.
16.  Finally, unless you have expertise with NetCDF4, it would be advisable to select FORMAT = NETCDF.
17.  Then click SUBMIT at the bottom of the form to proceed.  When the NCSS tool is working, then you should get a dialogue box to locate and name the resulting NC file.  Good luck, because this tool is known to hang up or give error messages at this point.  Just keep trying.
18.  When and if you get a result, then save it in the folder DATA > OCEAN > HYCOM with the filename
  • tuv_0m_20141124_20141201_hycom_glob_9_1_1_ncss.nc

Now you can proceed to work with the data in IDV.

19.  Run IDV.
20.  In the DATA CHOOSER, use these settings, then locate the TUV file you just downloaded.  Then click ADD SOURCE.
21.  Make these selections, then click CREATE DISPLAY.
22.  Before you even look a the new map, use the DISPLAYS settings to set COLOR TABLE to the familiar RADAR > DBZ palette.

Then select COLOR > DBZ > CHANGE RANGE to use the FROM ALL DATA option.

23.  Now you can see the surface temperature in the Liberia area with a really good palette.

24.  You can use the VIEW > CAPTURE > MOVIE controls to animate the data sequence, as you see here.

25.  Now we'll make vector arrows for the data grids.  We know we can do this because we ordered U and V vector component grids, above.
26.  In IDV, open the DERIVED option (left unopened above) and select the FIELDS > FLOW VECTORS option.

On the right side, select DISPLAYS > FLOW DISPLAYS > VECTOR PLAN VIEW.

Then click CREATE DISPLAY.

27.  UNCHECK the PLAN VIEWS > TEMPERATURE map on the right-hand list of objects so you can see the vectors.  This is our first view of the vectors, which usually requires additional work to look good.  There are too may arrows and they are too small.

28.  Click on the FLOW DISPLAYS > FLOW VECTORS object in the right-hand list, to see its properties.
  • Use the VECTORS > SIZE control to select a larger size for the vectors.  Experiment to find something you like
  • Use the SKIP control to decimate the display, perhaps with a value of 4. Experiment to find something you like.
29.  This is the final vectors display.

30.  And here you can combine the displays by CHECKING the PLAN VIEWS > TEMPERATURE again, and changing the vector COLOR to BLACK.  It is easy also to make an animation like this.

31.  Of course you should save the IDV data analyses as XIDV files in the folder PRODUCTS > IDV > XIDV and perhaps your animations there or in a special other folder.

The exercises, notes and graphics in this website are copyrighted, and may not be copied or abstracted in any way, without my explicit permission (in writing).  Making one copy for your personal use is allowed.  If you see any of these materials copied into any other website than MARINEDATALITERACY.ORG then they have been illegally pirated by others.  Please report any such instances of copyright infringement to me. Murray Brown m.brown.nsb <at> gmail.com