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:

Common: Graphics/Plot2D
Common: Time/FindSolsticeOrEquinox
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit
SC: BasicOrbit/Period
SC: BasicOrbit/RVFromKepler
SC: Environs/EarthAlb
SC: Ephem/ECIToPlanet
SC: Ephem/SunV1
SCPro: ProEnvirons/AlbedoFromTextureMap

Back to the SCPro Module page