Page 1 of 1

HD 209458 b mie issue

Posted: 17.01.2008, 18:41
by Hungry4info
I tried giving HD 209458 b an atmosphere with mie settings. It didn't work. I added another planet, identical to it except for a small change in inclination. Mie works on one, but not the other. Here is what I get in Celestia.

Image

And the relevant STC...

Code: Select all

"b" "HD 209458"   # V376 Peg
{
   Texture "exo-class4-2.*"
   NightTexture "exo-class4night.*"

   Color  [0 0.36 1]
   Albedo 0.05
   Radius     92400

   InfoURL "http://exoplanet.eu/star.php?st=HD+209458"

   EllipticalOrbit {
      Period          0.0097
      SemiMajorAxis   0.0474
      Eccentricity    0
      Inclination     71.3
      AscendingNode   325.9
      ArgOfPericenter 122
      MeanAnomaly     141
   }

   Atmosphere {
      Height 150
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }

   Obliquity             71.3 # guess, to match inclination
   EquatorAscendingNode  326 # guess, to match ascending node

   # likely to be in captured synchronous rotation
}

"c" "HD 209458"   # V376 Peg
{
   Texture "exo-class4-2.*"
   NightTexture "exo-class4night.*"

   Color  [0 0.36 1]
   Albedo 0.05
   Radius     92400

   InfoURL "http://exoplanet.eu/star.php?st=HD+209458"

   EllipticalOrbit {
      Period          0.0097
      SemiMajorAxis   0.0474
      Eccentricity    0.0
      Inclination     75.3
      AscendingNode   325.9
      ArgOfPericenter 122
      MeanAnomaly     141
   }

   Atmosphere {
      Height 150
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }

   Obliquity             71.3 # guess, to match inclination
   EquatorAscendingNode  326 # guess, to match ascending node

   # likely to be in captured synchronous rotation
}


I have no idea what's going on here :(

Posted: 17.01.2008, 20:12
by ajtribick
You didn't use the Replace modifier in the SSC file.

Thus there are two copies of planet b in the same position and hence the weirdness.

Use the following:

Code: Select all

Replace "b" "HD 209458"   # V376 Peg
{
   Texture "exo-class4-2.*"
   NightTexture "exo-class4night.*"

   Color  [0 0.36 1]
   Albedo 0.05
   Radius     92400

   InfoURL "http://exoplanet.eu/star.php?st=HD+209458"

   EllipticalOrbit {
      Period          0.0097
      SemiMajorAxis   0.0474
      Eccentricity    0
      Inclination     71.3
      AscendingNode   325.9
      ArgOfPericenter 122
      MeanAnomaly     141
   }

   Atmosphere {
      Height 150
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }

   Obliquity             71.3 # guess, to match inclination
   EquatorAscendingNode  326 # guess, to match ascending node

   # likely to be in captured synchronous rotation
}

"c" "HD 209458"   # V376 Peg
{
   Texture "exo-class4-2.*"
   NightTexture "exo-class4night.*"

   Color  [0 0.36 1]
   Albedo 0.05
   Radius     92400

   InfoURL "http://exoplanet.eu/star.php?st=HD+209458"

   EllipticalOrbit {
      Period          0.0097
      SemiMajorAxis   0.0474
      Eccentricity    0.0
      Inclination     75.3
      AscendingNode   325.9
      ArgOfPericenter 122
      MeanAnomaly     141
   }

   Atmosphere {
      Height 150
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.40 0.6 1.0 ]
      Sunset [ 1.0 0.6 0.2 ]

      Mie 0.001
      MieAsymmetry -0.25
      Rayleigh [ 0.001 0.0025 0.006 ]
      MieScaleHeight 12
   }

   Obliquity             71.3 # guess, to match inclination
   EquatorAscendingNode  326 # guess, to match ascending node

   # likely to be in captured synchronous rotation
}

Posted: 18.01.2008, 00:03
by Hungry4info
Ah! Yes, thank-you very much.
Haha, silly newbish mistake. :lol: