USML
|
The reflect_loss_netcdf object ingests a netCDF formatted file of bottom province data and creates a reflect_loss_rayleigh object to create a rayleigh reflection loss value for the bottom province number at a specific location and returns broadband reflection loss and phase change.
reflect_loss_netcdf | ( | const char * | filename | ) |
Loads bottom province data from a netCDF formatted file.
filename | Filename of the NetCDF file to ingest |
The information stored in "type" is set to a double with the value from 1 to the number of different bottom provinces for the profile.
< _lat : latitude in degrees
< _lon : longitude in degrees
< bot_num : bottom province map
< bot_speed : speed ratio of the province
< bot_density : density ratio of the province
< bot_atten : attenuation value for the province
< bot_shear_speed : shear speed of the province
< bot_shear_atten : shear attenuation of the province
Gets the size of the dimensions to be used to create the data grid
Extracts the data for all of the variables from the netcdf file and stores them
Creates a sequence vector of axises that are passed to the data grid constructor
Creates a data grid with the above assigned axises and populates the grid with the data from the netcdf file
Set the interpolation type to the nearest neighbor and restrict extrapolation
Builds a vector of reflect_loss_rayleigh values for all bottom province numbers
|
virtual |
Destuctor.
Interates over the rayleigh reflection loss values and deletes them.
|
virtual |
Creates a rayleigh reflection loss value for the bottom province number at a specific location then computes the broadband reflection loss and phase change.
location | Location at which to compute attenuation. |
frequencies | Frequencies over which to compute loss. (Hz) |
angle | Reflection angle relative to the normal (radians). |
amplitude | Change in ray strength in dB (output). |
phase | Change in ray phase in radians (output). Phase change not computed if this is NULL. |
Implements reflect_loss_model.
|
private |
province : data_grid2 object
|
private |
rayleigh : reflect_loss_rayleigh object