Advanced Tutorial

From krc
(Difference between revisions)
Jump to: navigation, search
Line 121: Line 121:
  
  
 +
=== Changing Material Thickness ===
  
 +
== Multi-Layer Surfaces ==
  
 +
It is important at this point to understand the distinction between ''layers'' and ''materials''.
  
 +
:*'''Layers:'''
 +
::*KRC is designed to function as a multi-layered model. KRC increases the number of layers and geometrically increases layer thickness to create model stability.
 +
 +
:*'''Materials:'''
 +
::*KRC is not required to use multiple materials. However, KRC has been developed to incorporate more than one layer (i.e. to study layer of dust with one set of surface properties on top of bedrock with a different set of surface properties).
  
=== Changing Material Thickness ===
+
=== Changing Layer Thickness ===
  
== Multi-Layer Surfaces ==
+
KRC will always create a multi-layered surface, with geometrically increasing thickness based on certain parameters:
  
It is important at this point to understand the distinction between ''layers'' and ''materials''.
+
KRC handles layer thickness in terms of skin depth. ''Skin depth'' is the depth at which thermal energy does not penetrate into the surface. There are two types of skin depth; Seasonal Skin Depth (SSD) and Diurnal Skin Depth (DSD). The former defines the depth at which the temperature attenuates by 1/e over the course of an entire season, and the latter refers to the course of a single day.
  
 +
KRC varies the thickness of layers by geometrically scaling the top layer. The thickness of top layer in terms of diurnal skin depths is set by FLAY . The scale factor is set by RLAY. The scale factor is multiplied by the thickness of the top layer (FLAY*RLAY) to determine the layer thicknesses.
  
:*'''Layers''':
 
::*KRC is designed to function as a multi-layered model. The purpose of this is to create model stability.
 
  
 
== Understanding Model Stability and Convergence ==  
 
== Understanding Model Stability and Convergence ==  
Line 141: Line 148:
 
i.e. When the daily temperature changes in a layer is 0, that layer is assumed to be the bottom-most layer. The model stops adding layers and the model is said to have converged and become stable.
 
i.e. When the daily temperature changes in a layer is 0, that layer is assumed to be the bottom-most layer. The model stops adding layers and the model is said to have converged and become stable.
  
There are other factors used in convergence and model stability. See Kieffer (2013) for more.
+
There are other factors used in convergence and model stability. See Kieffer (2013) [http://onlinelibrary.wiley.com/doi/10.1029/2012JE004164/abstract (Online Article)] or [http://onlinelibrary.wiley.com/doi/10.1029/2012JE004164/epdf Download PDF] for more.
 
+
=== Changing Layer Thickness ===
+
  
 
== Including Frost ==
 
== Including Frost ==
Line 149: Line 154:
 
== Linked Runs ==
 
== Linked Runs ==
  
==Jumped Perturbations ==
+
== Jumped Perturbations ==
  
 
== Atmospheric Parameters ==
 
== Atmospheric Parameters ==
  
 +
 +
Several of KRC's default atmospheric parameters might not be optimized for most users:
 +
 +
TAURAT: Ratio of thermal to visible opacity of dust
 +
 +
DUSTA: Single scattering albedo of dust
 +
 +
ARC2: Henyey-Greenstein asymmetry factor
 +
 +
 +
KRC assumes broadband atmospheric opacities, but the default values are given a specific wavelengths.
 +
 +
'''1.''' ''VIS/9μm dust opacity ratio is ~2:1'' (M. Smith personal communication);
 +
 +
'''2.''' ''9μm to broadband TIR ratio is 2.5:1'' (ratio of maximum and average values of the dust opacity spectrum from Bandfield and Smith, [2003], Figure 3);
 +
 +
[[Image:Atm_parameters_Change.png|600px|Figure 3 from Bandfield and Smith (2003)]]
 +
 +
Then:
 +
 +
  TAURAT ≈ 0.22 (J. Bandfield personnal communication).
 +
 +
Values for DUSTA and ARC2 go together, and should not be changed without the other (see the table below). To stick with J. Bandfield’s values, a user can work with:
 +
 +
  DUSTA = 0.90
 +
 +
  ARC2 = 0.50
 +
 +
Other values are acceptable, except for “KRC Default” (see Table below)
 +
 +
[[Image:Atm_parameters.png|600px|]]
 +
 +
__________________________________
 +
 +
References
 +
 +
'''Bandfield''', J. L., and M. D. Smith (2003), Multiple emission angle surface-atmosphere separations of Thermal Emission Spectrometer data, Icarus, 161, 47-65.
 +
 +
'''Kieffer''', H. H. (2013), Thermal model for analysis of Mars infrared mapping, Journal of Geophysical Research: Planets, 118(3), 451-470.
 +
 +
'''Shaw''', A., M. J. Wolff, F. P. Seelos, S. M. Wiseman, and S. Cull (2013), Surface scattering properties at the Opportunity Mars rover's traverse region measured by CRISM, Journal of Geophysical Research-Planets, 118(8), 1699-1717, doi:10.1002/jgre.20119.
 
== Adequately Scale Dust Opacity ==
 
== Adequately Scale Dust Opacity ==
 +
 +
First, a few definitions (From Helplist or communicated by HHK):
 +
 +
PTOTAL:
 +
Global annual mean surface pressure at 0 elev., Pascal[=.01mb];
 +
If KPREF=2, global average of atmosphere plus cap system.
 +
 +
PTOTAL depends on the scale height you consider.
 +
 +
PTOTAL  = 640Pa, 658Pa, 672Pa, 683Pa, 692Pa, 700Pa for scale heights H=7-8-9-10-11-12 km respectively.
 +
In reality, H oscillates over the course of a year.   
 +
 +
KPREF:
 +
Mean global pressure control.
 +
0 = constant
 +
1 = follows Viking Lander curve
 +
2 = reduced by global frost, but then N4 must be >8, and latitudes must be monotonic increasing and must include both polar regions (no warning for your failure).
 +
 +
TAUD:
 +
Opacity due to dust over solar wavelengths (weighted by solar spectral flux) for a column with pressure of PTOTAL at zero elevation.
 +
It is used in code:  tlats8.f line 193, then 213. It can be over-ridden by using a climate file, in which case solar tau  at PTOTAL is IR_opacity  (from the file) / TAURAT
 +
 +
* If your dust opacity TAU is given for a pressure = PTOTAL (usually the case for TES/THEMIS), you do not have to scale for a different pressure.
 +
For example, in Smith 2003, Figure 5:
 +
 +
[[Image:Dust_Opacity.png|600px|Figure 5 from Smith (2004)]]
 +
 +
Caption:Fig. 5. An overview of TES daytime (local time ∼ 1400) aerosol optical depth and water vapor abundance.
 +
Shown is the zonal average of each quantity a function of latitude and  season (Ls ).
 +
(Top) Dust optical depth at 1075 cm<sup>-1</sup> '''scaled to an equivalent 6.1 mbar pressure surface (to remove the effect of topography)'''.
 +
(Middle) Water ice optical depth at  825 cm<sup>-1</sup>.
 +
(Bottom) Water vapor column abundance in precipitable microns (pr-μm).
 +
The largest data gaps were caused by solar conjunction and various times when the MGS  spacecraft went into contingency (safing) mode.
 +
 +
In other words, if you are using a dust opacity scaled to a specific pressure = PTOTAL, no topographic correction is needed.
 +
 +
* If your dust opacity value is NOT given for a pressure of PTOTAL (usually the case for rovers and landers), you must first scale it to PTOTAL.
 +
 +
#1 Calculate the local pressure P(z):
 +
 +
[[Image:Pressure_z.png|140px|]]
 +
 +
P<sub>0</sub> is the reference pressure, also called PZREF. In theory, this is not PTOTAL, because the reference pressure too oscillates with Ls.
 +
 +
z is the elevation where the opacity measurement is made (VL1=-3.63,VL2=-4.50km, MPF=-3.68km,Spirit=-1.94km,Opportunity=-1.39km,MSL=-4.5km,InSight=-2.7km).
 +
 +
Z<sub>0</sub> is the reference elevation for PTOTAL, so typically 0km.
 +
 +
H is the scale height in km.
 +
 +
#2 Adjust the local dust opacity
 +
 +
The Opacity TAU at PTOTAL can then be derived using the following relation (M. Smith):
 +
 +
[[Image:TAU_z.png|120px|]]
 +
 +
Note that if an opacity vs. Ls is provided, TAU is the visible opacity at a pressure of PTOTAL.
 +
 +
#3 Adjust for wavelength
 +
 +
Dust opacities are given at different wavelengths in the literature.
 +
KRC works with opacity values at solar wavelengths. Use the table below to convert published opacity values to the best estimate for the visible wavelength opacity
 +
 +
[[Image:Opacity_Table.png|500px|]]
 +
 +
 +
'''Smith''', M. D. (2004), Interannual variability in TES atmospheric observations of Mars during 1999-2003, Icarus, 167, 148-165.

Revision as of 18:35, 29 July 2017

Contents

Parameter Dependent Variables

The Heat Transfer between surfaces and the atmosphere has been proving to depend on the temperature of the materials on the surface.

See Section 3.2.1 of Kieffer (2013) (Online Article) or Download PDF

Seasonal Dependant Parameters

Albedo and dust opacity (ALBEDO and TAUD) have the capability of being input as a 2 x n array, where n is the number of seasons desired. The first column contains all the values of albedo or dust opacity. The second column contains all the seasons that correspond to albedo or dust value. The season corresponding to a particular albedo or dust opacity must be in the same row as the albedo or dust value. These will be input by KRC together. You can use as many values for albedo or dust opacity as desired.

Example

Start davinci as normal and then create an array with the command cat2(). Set this command equal to a variable to input into KRC later. The cat2() command allows you to create your own array (visit DavinciWiki for more information).

Note: All data type values within cat2() must match. Therefore, even if you are using integers with floating point values, you must add decimal points (even just zeros) to your integer values.

>davinci
dv>

dv> albedoArray = cat2(.23//45.00,.25//90.00,.24//135.00,.25//180.00,.24//225.00,.23//270.00,.23//315.00)
2x7x1 array of float, bsq format [56 bytes]
0.2300000042    45.00000000   
0.2500000000    90.00000000   
0.2399999946    135.0000000   
0.2500000000    180.0000000   
0.2399999946    225.0000000   
0.2300000042    270.0000000   
0.2300000042    315.0000000   

The same can be done with dust opacity. Once the array is created, use this variable in place of any single value you might normally input for ALBEDO or TAUD.

Temperature Dependent Parameters

It has been proved that conductivity and specific heat are affected by temperature.

The parameter LofkT determines whether or not these temperature-dependent parameters will be used in the calculations.

Set LofkT = "T" to use temperature-dependent parameters.

When LofkT = "T", KRC requires the conductivity temperature-dependent coefficients (ConUp0, ConUp1, ConUp2, and ConUp3 and ConLo0, ConLo1, ConLo2, and ConLo3) and specific heat temperature-dependent coefficients (SphUp0, SphUp1, SphUp2, and SphUp3 and SphLo0, SphLo1, SphLo2 and SphLo3) that define the third order temperature-dependence relationship of conductivity and specific heat (see Temperature-Dependent Parameters).


Davinci has the built-in function materials_krc() which automatically calculates these coefficients for the user.

However, these coefficients can be calculated by the user with the materials_krc() function.

Example

Start davinci as normal, and type the materials_krc() command to bring up a menu of input/output for the command.

>davinci
dv>

dv> materials_krc()

Calculates the coefficients for T-dependent specific heat, conductivity, and Density
Also returns the standard K/rho/Cp for those materials
Returns a structure with various coefficients

$1 = Define the material thermal inertia

$2 = "basalt" or "H2O" or "CO2", material physical properties (Default="basalt")
Options:
    porosity = set the material porosity, 0.-1. (Default=0.4 if below I=315,
        otherwise overwrites input porosity to vary from 0.4 @ I=315 to 0 @ I=2207 (bedrock))

    layer = specify the upper(Up)/lower(Lo) layer (Default="Up")
s.piqueux 4/29/13

To manually determine the coefficients, the first two arguments must be input. The porosity and layer are optional, but require porosity=value between 0 and 1 and layer="Up" or "Lo" (with the quotes).

dv>materials_krc(200,"basalt",porosity=.3,layer="Up")
struct, 4 elements
    req: struct, 11 elements
        INERTIA: 200   
        SphUp0: 554.3699951   
        SphUp1: 214.6999969   
        SphUp2: -37.52399826   
        SphUp3: 13.62800026   
        SPEC_HEAT: 595.5549927   
        DENSITY: 2065.000000   
        ConUp0: 0.03999998048   
        ConUp1: 0.01780755445   
        ConUp2: 0.007334869355   
        ConUp3: 0.001111081685   
    COND: 0.03252505884   
    compositon: "basalt"
    porosity: 0.3000000119   


Other Bodies

KRC uses a coding system called PORB to model bodies in the Solar System other than Mars
For an in depth understanding of PORB see Planetary Orbit (PORB) General User’s Guide or the The KRC Planetary ORBit (PORB) System Advanced Design Guide

Planets

KRC can be applied to non-tidally locked, rocky Planets:

  • Mars
  • Earth
  • Venus
  • Pluto


Comets

List of available Comets

Asteroids

List of available Asteroids

Multi-Material Surfaces

Davinci and KRC both use one material as the default. However, two materials may be specified.


Changing Material Thickness

Multi-Layer Surfaces

It is important at this point to understand the distinction between layers and materials.

  • Layers:
  • KRC is designed to function as a multi-layered model. KRC increases the number of layers and geometrically increases layer thickness to create model stability.
  • Materials:
  • KRC is not required to use multiple materials. However, KRC has been developed to incorporate more than one layer (i.e. to study layer of dust with one set of surface properties on top of bedrock with a different set of surface properties).

Changing Layer Thickness

KRC will always create a multi-layered surface, with geometrically increasing thickness based on certain parameters:

KRC handles layer thickness in terms of skin depth. Skin depth is the depth at which thermal energy does not penetrate into the surface. There are two types of skin depth; Seasonal Skin Depth (SSD) and Diurnal Skin Depth (DSD). The former defines the depth at which the temperature attenuates by 1/e over the course of an entire season, and the latter refers to the course of a single day.

KRC varies the thickness of layers by geometrically scaling the top layer. The thickness of top layer in terms of diurnal skin depths is set by FLAY . The scale factor is set by RLAY. The scale factor is multiplied by the thickness of the top layer (FLAY*RLAY) to determine the layer thicknesses.


Understanding Model Stability and Convergence

Model stability is a feature of modeling used to ensure the values generated by KRC are physically possible as well as accurate. The model stability is based on certain convergence factors of KRC. The convergence factors use temperature to determine model stability. As thermal energy reaches the surface of Mars the heat that is able to penetrate into the surface begins to diminish. This is known as Heat Diffusivity. It is governed by the Heat Flow Equation which depends on conductivity, specific heat, density, time and depth. As depth and time increase the diffusion of heat increases. Therefore, less heat will penetrate into deep layers of the surface. The diurnal temperature of a layer is assumed to have a range of variability. This variability decreases with depth and time. Therefore, at a certain depth the diurnal temperature variation of a certain layer is 0. If the temperature of a layer is determined to be constant over more than one day, or very small, the model is considered to be stable.

i.e. When the daily temperature changes in a layer is 0, that layer is assumed to be the bottom-most layer. The model stops adding layers and the model is said to have converged and become stable.

There are other factors used in convergence and model stability. See Kieffer (2013) (Online Article) or Download PDF for more.

Including Frost

Linked Runs

Jumped Perturbations

Atmospheric Parameters

Several of KRC's default atmospheric parameters might not be optimized for most users:

TAURAT: Ratio of thermal to visible opacity of dust
DUSTA: Single scattering albedo of dust
ARC2: Henyey-Greenstein asymmetry factor


KRC assumes broadband atmospheric opacities, but the default values are given a specific wavelengths.

1. VIS/9μm dust opacity ratio is ~2:1 (M. Smith personal communication);

2. 9μm to broadband TIR ratio is 2.5:1 (ratio of maximum and average values of the dust opacity spectrum from Bandfield and Smith, [2003], Figure 3);

Figure 3 from Bandfield and Smith (2003)

Then:

 TAURAT ≈ 0.22 (J. Bandfield personnal communication).

Values for DUSTA and ARC2 go together, and should not be changed without the other (see the table below). To stick with J. Bandfield’s values, a user can work with:

 DUSTA = 0.90
 ARC2 = 0.50

Other values are acceptable, except for “KRC Default” (see Table below)

Atm parameters.png

__________________________________

References

Bandfield, J. L., and M. D. Smith (2003), Multiple emission angle surface-atmosphere separations of Thermal Emission Spectrometer data, Icarus, 161, 47-65.

Kieffer, H. H. (2013), Thermal model for analysis of Mars infrared mapping, Journal of Geophysical Research: Planets, 118(3), 451-470.

Shaw, A., M. J. Wolff, F. P. Seelos, S. M. Wiseman, and S. Cull (2013), Surface scattering properties at the Opportunity Mars rover's traverse region measured by CRISM, Journal of Geophysical Research-Planets, 118(8), 1699-1717, doi:10.1002/jgre.20119.

Adequately Scale Dust Opacity

First, a few definitions (From Helplist or communicated by HHK):

PTOTAL:
Global annual mean surface pressure at 0 elev., Pascal[=.01mb];
If KPREF=2, global average of atmosphere plus cap system.

PTOTAL depends on the scale height you consider.

PTOTAL = 640Pa, 658Pa, 672Pa, 683Pa, 692Pa, 700Pa for scale heights H=7-8-9-10-11-12 km respectively. In reality, H oscillates over the course of a year.

KPREF:
Mean global pressure control.
0 = constant
1 = follows Viking Lander curve
2 = reduced by global frost, but then N4 must be >8, and latitudes must be monotonic increasing and must include both polar regions (no warning for your failure).
TAUD:
Opacity due to dust over solar wavelengths (weighted by solar spectral flux) for a column with pressure of PTOTAL at zero elevation.
It is used in code:  tlats8.f line 193, then 213. It can be over-ridden by using a climate file, in which case solar tau  at PTOTAL is IR_opacity  (from the file) / TAURAT
  • If your dust opacity TAU is given for a pressure = PTOTAL (usually the case for TES/THEMIS), you do not have to scale for a different pressure.

For example, in Smith 2003, Figure 5:

Figure 5 from Smith (2004)

Caption:Fig. 5. An overview of TES daytime (local time ∼ 1400) aerosol optical depth and water vapor abundance. 
Shown is the zonal average of each quantity a function of latitude and  season (Ls ).
(Top) Dust optical depth at 1075 cm-1 scaled to an equivalent 6.1 mbar pressure surface (to remove the effect of topography).
(Middle) Water ice optical depth at  825 cm-1.
(Bottom) Water vapor column abundance in precipitable microns (pr-μm).
The largest data gaps were caused by solar conjunction and various times when the MGS  spacecraft went into contingency (safing) mode.

In other words, if you are using a dust opacity scaled to a specific pressure = PTOTAL, no topographic correction is needed.

  • If your dust opacity value is NOT given for a pressure of PTOTAL (usually the case for rovers and landers), you must first scale it to PTOTAL.
  1. 1 Calculate the local pressure P(z):

Pressure z.png

P0 is the reference pressure, also called PZREF. In theory, this is not PTOTAL, because the reference pressure too oscillates with Ls.

z is the elevation where the opacity measurement is made (VL1=-3.63,VL2=-4.50km, MPF=-3.68km,Spirit=-1.94km,Opportunity=-1.39km,MSL=-4.5km,InSight=-2.7km).

Z0 is the reference elevation for PTOTAL, so typically 0km.

H is the scale height in km.

  1. 2 Adjust the local dust opacity

The Opacity TAU at PTOTAL can then be derived using the following relation (M. Smith):

TAU z.png

Note that if an opacity vs. Ls is provided, TAU is the visible opacity at a pressure of PTOTAL.

  1. 3 Adjust for wavelength

Dust opacities are given at different wavelengths in the literature. KRC works with opacity values at solar wavelengths. Use the table below to convert published opacity values to the best estimate for the visible wavelength opacity

Opacity Table.png


Smith, M. D. (2004), Interannual variability in TES atmospheric observations of Mars during 1999-2003, Icarus, 167, 148-165.

Personal tools