DistributedAlbedo:

Path: SCPro/ProEnvirons

% Computes albedo from a texture map.
   Works with any Matlab compatible image file format.
   Functions to convert texture maps to albedo may be supplied in the form

   alpha      = fun( textureMap );

   textureMap is a Matlab generated format using the Matlab imread function.

   textureMap = imread( fileName );

   Type DistributedAlbedo for a demo of an Earth orbiting satellite. It
   compares the results with EarthAlb.
   See also AlbedoFromTextureMap.
--------------------------------------------------------------------------
   Form:
   q = DistributedAlbedo( action, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action      (1,:) 'initialize' or 'update'
   d           (1,1)  If 'initialize'
                      .planetFile  (1,:) Name of the planet file
                      .cloudFile   (1,:) Name of the cloud file
                      .planetFun   (1,:) Name of the planet function
                      .cloudFun    (1,:) Name of the cloud cloud function
                      .alphaAve    (1,1) Default alpha (0.34 is the default );
                      .radius      (1,1) Planet radiust
                      .planet      (1,:) Planet name

                     If 'update'
                      .r           (3,:) Satellite position
                      .jD          (1,:) Julian date
                      .flux        (1,:) Solar flux (W/m^2)

   -------
   Outputs
   -------
   q            (1,:) Flux (W/m^2)

--------------------------------------------------------------------------

Children:

AC: ACData/ACTConstants
SC: BasicOrbit/Period
SC: BasicOrbit/RVFromKepler
SC: Environs/EarthAlb
SC: Ephem/ECIToPlanet
SC: Ephem/EOfE
SC: Ephem/EarthNut
SC: Ephem/EarthPre
SC: Ephem/EarthRot
SC: Ephem/GMSTime
SC: Ephem/MSidDay
SC: Ephem/MoonRot
SC: Ephem/Moons
SC: Ephem/NutDelta
SC: Ephem/ObOfE
SC: Ephem/SunV1
SC: Ephem/TruEarth
SC: SCData/sCTConstants
SCPro: ProEnvirons/AlbedoFromTextureMap
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/DeleteCell
Common: General/IsVersionAfter
Common: General/MatToCell
Common: General/StringToTokens
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/Plot3D
Common: Graphics/PltStyle
Common: Graphics/TimeLabl
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/FindSolsticeOrEquinox
Common: Time/JD2000
Common: Time/JD2T
Common: Time/JDToMidnight
Common: Time/T2JD
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit
Math: MathUtils/R2P5
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the SCPro Module page