public class OceanLoadingCoefficientsBLQFactory extends Object
Files in BLQ format can be generated using the form at the Bos-Scherneck web site, selecting BLQ as the output format.
The sites names are extracted from the file content, not the file name, because the file can contain more than one station. As we expect existing files may have been stripped from headers and footers, we do not attempt to parse them. We only parse the series of 7 lines blocks starting with the lines with the station names and their coordinates and the 6 data lines that follows. Several such blocks may appear in the file. Copy-pasting the entire mail received from OSO after completing the web site form works, as intermediate lines between the 7 lines blocks are simply ignored.
OceanLoadingCoefficients
,
OceanLoading
Modifier and Type | Field | Description |
---|---|---|
static String |
DEFAULT_BLQ_SUPPORTED_NAMES |
Default supported files name pattern for Onsala Space Observatory files in BLQ format.
|
Constructor | Description |
---|---|
OceanLoadingCoefficientsBLQFactory(String supportedNames) |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
OceanLoadingCoefficients |
getCoefficients(String site) |
Get the coefficients for a given site.
|
List<String> |
getSites() |
Get the list of sites for which we have found coefficients, in lexicographic order ignoring case.
|
public static final String DEFAULT_BLQ_SUPPORTED_NAMES
public OceanLoadingCoefficientsBLQFactory(String supportedNames)
Files in BLQ format can be generated using the form at the Bos-Scherneck web site, selecting BLQ as the output format.
supportedNames
- regular expression for supported files namesDEFAULT_BLQ_SUPPORTED_NAMES
public List<String> getSites() throws OrekitException
OrekitException
- if coefficients cannot be readpublic OceanLoadingCoefficients getCoefficients(String site) throws OrekitException
site
- site name (as it appears in the Onsala Space Observatory files in BLQ format),
ignoring caseOrekitException
- if no coefficients are found for the specified siteCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.