org.mbari.util
Class SolarUtil

java.lang.Object
  extended byorg.mbari.util.SolarUtil

public class SolarUtil
extends java.lang.Object


Field Summary
static double EARTH_ORBIT_ECCENTRICITY
           
 
Constructor Summary
SolarUtil()
           
 
Method Summary
static double estimDobson(int month, double lat)
          Estimate Dobson units from climatology, given the month and latitude.
static double[] getCorrectedETIrradiance(double[] lambda, int dayOfYear)
           
static double getEarthSunDistanceLP(int dayOfYear)
          Low Precision Distance in astronomical units
static double getEarthSunIrradianceCorrectionLP(int dayOfYear)
          Low Precision This is equal to 1/earthSunDistance
static double[] getNeckelLabIrradiance()
           
static double[] getNeckelLabIrradiance(double[] lambda)
           
static double[] getNeckelLabWavelengths()
           
static double[] getOzoneAbsorption()
           
static double[] getOzoneAbsorption(double[] lambda)
           
static double[] getOzoneWavelengths()
           
static SolarPosition getSolarPosition(long millis, double longitude, double latitude)
          Adapted from PLOTephem.HPL and Internal parameter names (P10-P20) are identical to those in the HPL program, PLOTephem, from which this was extracted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EARTH_ORBIT_ECCENTRICITY

public static final double EARTH_ORBIT_ECCENTRICITY
See Also:
Constant Field Values
Constructor Detail

SolarUtil

public SolarUtil()
Method Detail

getNeckelLabWavelengths

public static final double[] getNeckelLabWavelengths()
Returns:
the wavelength of Neckles and Labs Extra-terrestrial Irradiance in nanometers (cf. getNeckelLabIrradiance())

getNeckelLabIrradiance

public static final double[] getNeckelLabIrradiance(double[] lambda)

getNeckelLabIrradiance

public static final double[] getNeckelLabIrradiance()

getOzoneWavelengths

public static final double[] getOzoneWavelengths()
                                          throws java.io.IOException
Throws:
java.io.IOException

getOzoneAbsorption

public static final double[] getOzoneAbsorption()
                                         throws java.io.IOException
Throws:
java.io.IOException

getOzoneAbsorption

public static final double[] getOzoneAbsorption(double[] lambda)
                                         throws java.io.IOException
Throws:
java.io.IOException

getEarthSunIrradianceCorrectionLP

public static double getEarthSunIrradianceCorrectionLP(int dayOfYear)
Low Precision This is equal to 1/earthSunDistance


getEarthSunDistanceLP

public static double getEarthSunDistanceLP(int dayOfYear)
Low Precision Distance in astronomical units


getCorrectedETIrradiance

public static double[] getCorrectedETIrradiance(double[] lambda,
                                                int dayOfYear)

getSolarPosition

public static SolarPosition getSolarPosition(long millis,
                                             double longitude,
                                             double latitude)
Adapted from PLOTephem.HPL and Internal parameter names (P10-P20) are identical to those in the HPL program, PLOTephem, from which this was extracted. This program agrees with Wilson (1980) and Duffet-Smith (1997) W. Broenkow 21 Jul 1997 Ported MLML/OCEANS matlab toolbox function almanac_.m


estimDobson

public static double estimDobson(int month,
                                 double lat)
Estimate Dobson units from climatology, given the month and latitude. Table has 12 columns, one per month, and 35 rows, from 85 N to -85, in steps of 5 deg lat. Note: corrected two bad PAR values in table (eg, 396 -> 296) Subroutine EstimDobson( month, lat, Dobson )