3.1.5.8. Python direct read access to CODAS dataΒΆ
get_profiles: getting all bins and all profiles from a CODAS database
extract averaged data, every bin and every profile, including access to many variables (time, position, velocity, amplitude, temperature, heading)
example: using
dbname
as the name of the database (i.e. the CODAS database file collection exists asadcpdb/dbname*.blk
from pycurrents.codas import get_profiles
data=get_profiles(dbname)
Typical variables of immediate interest are:
variable |
description |
---|---|
|
Time at the end of the ensemble, days from start of year. Jan 1 noon UTC is 0.5 (not 1.5) |
|
Longitude, Latitude from GPS at the end of the ensemble. |
|
Ocean zonal and meridional velocity component profiles. |
|
Zonal and meridional velocity components of the ship. |
|
Mean ship heading during the ensemble. |
|
Bin centers in nominal meters (no sound speed profile correction). |
|
ADCP transducer temperature. |
|
Percent Good pings for u, v averaging after editing. |
|
Received signal strength in ADCP-specific units; no correction for spreading or attenuation. |
|
Profile Flags based on editing, used to mask u, v. |