Hyperspectral Remote Sensing Report

Hyperspectral Mineral Mapping
of the Mountain Pass REE Deposit

Spectral Angle Mapper (SAM) classification of AVIRIS-NG imagery to map Bastnaesite [(Ce,La,Nd)FCO₃] at the world-class Mountain Pass Rare Earth Element mine, San Bernardino County, California.

πŸ“ Mountain Pass, CA (35.47Β°N, 115.52Β°W) πŸ›° AVIRIS-NG Β· VNIR 547–903 nm Β· 3.4 m GSD Β· 72 bands πŸ”¬ Classifier: Spectral Angle Mapper (SAM) πŸ’Ύ Analysis: ENVI + IDL
4,544
Bastnaesite-mapped pixels
(0.65 % of valid scene pixels)
β‰ˆ 5.25 ha
Bastnaesite-similar area
(4,544 Γ— 3.4 mΒ² per pixel)
0.46 rad
SAM threshold
(natural spectral-angle break)
72 bands
AVIRIS-NG channels
547–903 nm (2 bad bands masked)

1. Introduction

Mountain Pass, California is the largest and highest-grade Rare Earth Element (REE) deposit in North America, and one of the most significant globally. The deposit is hosted within a Precambrian (~1.4 Ga) carbonatite intrusion that pierces Proterozoic gneisses and schists of the Clark Mountain Range. The dominant ore mineral is Bastnaesite [(Ce,La,Nd)FCO₃], a fluoro-carbonate that can carry 60–70% REE by oxide weight and is the world's primary source of light rare earth elements (LREE), including cerium, lanthanum, and neodymium.

This study applies hyperspectral remote sensing using AVIRIS-NG VNIR imagery (547–903 nm, 72 spectral channels) and the Spectral Angle Mapper (SAM) classifier to map Bastnaesite-bearing surface exposures. The ENVI software platform with custom IDL scripting was used for all processing steps. The workflow covers:

2. Dataset & Study Area

AVIRIS-NG Hyperspectral Image

  • File: MountainPass_AVIRIS_sub.dat
  • Sensor: AVIRIS-NG (Airborne Visible/Infrared Imaging Spectrometer β€” Next Generation)
  • Spatial dimensions: 959 cols Γ— 1,072 rows
  • Spectral range: 547–903 nm (VNIR)
  • Bands: 72 total (2 bad bands flagged)
  • Pixel size: 3.4 m Γ— 3.4 m
  • Data type: UInt16, reflectance Γ— 10,000
  • Projection: UTM Zone 11N, WGS-84
  • Atmospheric correction: QUAC (Quick Atmospheric Correction)
  • Bad bands: Bands 43 & 44 (762.39 nm & 767.40 nm) β€” Oβ‚‚-A absorption
  • Data ignore value: 0 (no-data outside swath)

Spectral Library

  • File: bastnaesite_ree_resampled.sli
  • Spectrum: Bastnaesite (Ce,La,Nd)FCO₃
  • Source: USGS Spectral Library, resampled to AVIRIS-NG wavelengths
  • Bands: 70 (bad bands 762 & 767 nm excluded)
  • Scale factor: 1.0 (values Γ— 10,000)

Mask File

  • File: MountainPass_mask.dat
  • Type: Binary byte raster (co-registered with image)
  • Values: 1 = valid image pixel; 0 = no-data / NaN region
  • Masked pixels: 326,642 (31.8% of image)
  • Valid pixels: 701,406 (68.2% of image)

3. Classifier Selection

Several ENVI classifiers are suitable for hyperspectral mineral mapping. The principal options considered were:

ClassifierTypeStrengths for REE MappingLimitationsSuitability
SAM (Spectral Angle Mapper) Physics-based, unsupervised spectral matching Illumination-invariant; uses full spectrum shape; outputs quantitative rule image; minimal training data needed (1 library spectrum sufficient) Insensitive to albedo differences; large angles in mixed pixels βœ… Best choice
Matched Filter Partial unmixing, sub-pixel Detects sub-pixel abundances; good for sparse targets Sensitive to background statistics; assumes Gaussian distribution βœ… Good alternative
SID (Spectral Information Divergence) Information-theory-based Sensitive to subtle spectral differences; pairs well with SAM Computationally intensive; less intuitive threshold πŸ”Ά Complementary
Linear Spectral Unmixing Sub-pixel abundance estimation Produces fractional abundance maps; ideal for spatially mixed minerals Requires a complete endmember set; collinearity issues πŸ”Ά Supplementary use
Maximum Likelihood Parametric, supervised Familiar to geologists; statistically rigorous Requires large training set; assumes Gaussian per-class distributions ❌ Not optimal (no training labels)
Random Forest / SVM Machine learning, supervised High accuracy with sufficient training data Needs field-verified training labels; black-box; overfits small classes ❌ Not applicable (no labeled data)
Recommendation: SAM (Spectral Angle Mapper)
SAM is the optimal choice because (1) it requires only a single reference spectrum from the spectral library β€” no field training labels needed; (2) it is insensitive to illumination variation from the open-pit mine geometry; (3) it outputs a continuous rule image (spectral angle in radians) enabling quantitative post-classification thresholding; and (4) it is the industry-standard algorithm for hyperspectral mineral mapping and directly supported by ENVI with full spectral library integration.

4. Methodology

4.1 Bad Band Handling

The AVIRIS-NG image contains 72 spectral bands but bands 43 (762.39 nm) and 44 (767.40 nm) fall within the atmospheric Oβ‚‚-A absorption window and carry unreliable radiance values. These bands are flagged in the image header (bbl = [..., 0, 0, ...]). The spectral library was pre-resampled to 70 bands (excluding these bad bands). For the SAM tool, a 72-element mean array was constructed by inserting 0.0 at positions 43 and 44, with the 70 library values filling the remaining slots. ENVI's SAM algorithm automatically excludes bad-band positions from the spectral angle computation.

4.2 SAM Classification

The SpectralAngleMapperClassification ENVI task was run with the following configuration:

  • Input raster: MountainPass_AVIRIS_sub.dat (72 bands, VNIR)
  • Spectra mean array: 72-element float array (Bastnaesite library + 0.0 at bad bands)
  • Class names: Bastnaesite
  • Threshold: Ο€/2 rad (broad; all pixels classified initially)
  • Output rule raster: SAM_rule_raster.dat (per-pixel spectral angle)
  • Output classification: SAM_classification_broad.dat

4.3 Rule Image Analysis & Threshold Selection

The SAM rule raster was analysed to identify the distribution of spectral angles. Key findings:

Note on large SAM angles: The minimum SAM angle of 0.40 rad is substantially larger than typical mineral mapping thresholds (< 0.10 rad). This reflects the VNIR-only spectral coverage, spectral mixing at 3.4 m GSD, and the absence of diagnostic SWIR carbonate features. The classification therefore represents relative spectral similarity β€” the most Bastnaesite-like pixels in the scene β€” rather than high-confidence mineralogical matches.

4.4 Classification Refinement β€” RuleRasterClassification

The RuleRasterClassification ENVI task was applied to the SAM rule raster with:

  • minimum_rule = true (pixels with angle < threshold β†’ Bastnaesite; angle β‰₯ threshold β†’ Unclassified)
  • Threshold: 0.46 rad (natural spectral-angle break)
  • Result: 4,544 Bastnaesite pixels; 696,862 Unclassified

4.5 Mask Integration

The binary mask file (MountainPass_mask.dat, value 0 = no-data) was applied to assign all no-data pixels to the dedicated class Masked Pixels (326,642 pixels), producing the three-class final classification raster SAM_classification_final.dat. The HDR was written manually to ensure correct ENVI Classification metadata (file type, class lookup, class names, and UTM map info).

4.6 Raster Color Slice

To visualize the continuous distribution of spectral angles, the ColorSliceClassification ENVI task was run on the SAM rule raster:

  • Number of ranges: 10 intervals
  • Range size: 0.01 rad per interval
  • Starting angle: 0.40 rad
  • Ending angle: 0.50 rad
  • Color table: Full IDL Rainbow (dark violet = 0.40 rad β†’ purple β†’ blue β†’ cyan β†’ green β†’ yellow β†’ orange β†’ red = 0.50 rad); 10 explicit RGB colors sampled evenly from Rainbow table indices 5–255; black = pixels outside the range
  • Output: SAM_rule_colorslice2.dat

5. Results

5.1 Scene Overview β€” CIR Composite & Final Classification Map

AVIRIS-NG CIR Composite
Figure 1. AVIRIS-NG Color Infrared (CIR) composite β€” NIR / Red / Green bands. The active open pit (dark, circular benches, centre-left) is clearly visible. Red tones = NIR-bright vegetation; gray/tan = exposed mine rock; brown = Mojave Desert alluvium. Scene extent β‰ˆ 3.3 Γ— 3.6 km.
Bastnaesite (Class 1) β€” 4,544 px
Unclassified (Class 0) β€” 696,862 px
Masked Pixels (Class 2) β€” 326,642 px
SAM Final Classification Map
Figure 2. SAM final classification map. Orange pixels (Bastnaesite) have spectral angle < 0.46 rad to the reference spectrum. Clusters align with the active pit and ore stockpiles seen in Fig 1.

The 4,544 Bastnaesite-classified pixels (orange) are spatially concentrated in two principal zones: (1) the northern active open-pit mine, where the carbonatite ore body is exposed by mining benches; and (2) several smaller clusters in the eastern central area, corresponding to mine waste dumps and stockpiles. The dispersed pattern of orange pixels across terraced mine floors is consistent with heterogeneous exposure of the carbonatite ore and country-rock contacts.

5.2 SAM Rule Image & Raster Color Slice

SAM Rule Raster
Figure 3. SAM rule raster (spectral angle to Bastnaesite, radians). Brighter pixels indicate smaller spectral angle (higher similarity to Bastnaesite). The bright cluster in the northern sector corresponds to the active open-pit mine. Valid-pixel angle range: 0.402–0.798 rad.
Raster Color Slice
Figure 4. Raster Color Slice of SAM rule image. 10 intervals Γ— 0.01 rad, range 0.40–0.50 rad. Colors span the full IDL Rainbow color table (dark violet = 0.40 rad β†’ purple β†’ blue β†’ cyan β†’ green β†’ yellow-green β†’ yellow β†’ orange β†’ red = 0.50 rad). Black pixels are outside the 0.40–0.50 rad range (masked or unclassified). Most valid pixels fall in the yellow-green to orange bins (0.45–0.49 rad); the rare blue/cyan clusters in the open-pit area represent the most Bastnaesite-similar exposures (lowest spectral angle, 0.40–0.44 rad). The color bar on the right identifies each 0.01 rad interval.

5.3 Spectral Profile Analysis β€” Continuum-Removed Comparison

Continuum-Removed Spectrum Comparison
Figure 5. Continuum-removed reflectance of the Bastnaesite SLI reference spectrum (red dashed) versus the mean spectrum of all SAM-classified pixels with angle < 0.46 rad (blue solid, n = 4,544). Continuum removal was performed by dividing each spectrum by its upper convex-hull continuum, making both scale-invariant and enabling direct shape comparison. Red tick marks indicate known Bastnaesite VNIR absorption bands (REE crystal-field and Fe3+ charge-transfer transitions at ~570, 617, 670, 742, 800, 858 nm). The image mean is nearly flat after continuum removal (<6% band depth), confirming that the VNIR window (547–903 nm) lacks the diagnostic absorption depth of the reference; the SAM match is driven by spectral slope, not absorption features.

5.4 Spectral Angle Distribution Summary

Color Slice Bin Intervals (0.40–0.50 rad, 10 Γ— 0.01 rad)
The color slice focusses on the 0.40–0.50 rad window, which encompasses the full valid pixel range of the scene (minimum 0.402 rad). The most populated bins are 0.45–0.49 rad (yellow-green through orange). Pixels with angles above 0.50 rad or below 0.40 rad are rendered black. The natural population break at 0.46 rad was used as the classification threshold, capturing the statistically distinct lower-angle spectral population.

6. Classification Statistics

6.1 Pixel Count Summary

ClassColorPixel Count% of Valid PixelsArea (mΒ²)Area (ha)
UnclassifiedBlack (0,0,0)696,86299.35%8,050,604805.1
BastnaesiteDark Orange (255,140,0)4,5440.65%52,5095.25
Masked PixelsGray (128,128,128)326,642N/A (no-data)β€”β€”
Total (valid)701,406100%8,103,113810.3

6.2 Mean Spectral Reflectance by Class (Selected Bands)

Reflectance values are stored as integer Γ— 10,000 in the image. Divide by 10,000 to obtain fractional reflectance. Bad bands (762, 767 nm) are shown in italics β€” values are unreliable.

Band #Wavelength (nm) Bastnaesite Mean Refl. (Γ—10⁻⁴) Bastnaesite Reflectance Unclassified Mean Refl. (Γ—10⁻⁴) Unclassified Reflectance Ratio (Bast / Uncl)
0547.02,7330.27331,7270.17271.58
5572.12,8030.28031,7920.17921.56
10597.13,0570.30571,9120.19121.60
15622.13,1660.31661,9080.19081.66
20647.23,2600.32601,9330.19331.69
25672.23,4100.34101,9890.19891.71
30697.33,5610.35612,0800.20801.71
35722.33,6870.36872,2200.22201.66
40747.43,6270.36272,3840.23841.52
43762.4 ⚠️ BAD(3,884)(0.3884)(2,403)(0.2403)β€”
44767.4 ⚠️ BAD(3,947)(0.3947)(2,388)(0.2388)β€”
45772.43,9670.39672,3900.23901.66
50797.53,7660.37662,5760.25761.46
55822.54,1760.41762,5390.25391.64
60847.54,2580.42582,5530.25531.67
65872.64,2020.42022,6200.26201.60
70897.64,3490.43492,6220.26221.66
71902.64,3870.43872,6320.26321.67

⚠️ Bad band values in parentheses are unreliable due to Oβ‚‚-A atmospheric absorption and were excluded from the SAM spectral angle computation.

7. Geological & Mineralogical Discussion

7.1 Geology of Mountain Pass

The Mountain Pass deposit is a Proterozoic carbonatite intrusion (~1.4 Ga) emplaced into Proterozoic gneisses and schists of the Mojave Desert terrane. The carbonatite body (locally called the "Sulfide Queen" body) consists dominantly of calcite and dolomite carbonatite with subordinate baritocelestite, barite, and accessory sulfides. The REE mineralization is concentrated in Bastnaesite, a fluoro-carbonate mineral with the formula (Ce,La,Nd)FCO₃. Cerium is the dominant rare earth cation (~49%), followed by lanthanum (~34%) and neodymium (~12%).

Bastnaesite forms yellowish-waxy to brownish hexagonal crystals, commonly intergrown with barite, calcite, and dolomite. The ore body has been mined intermittently since the 1950s. At its peak in the 1980s–1990s, Mountain Pass supplied ~25% of global REE production. After a period of closure, production restarted in 2017 under MP Materials Corp.

7.2 Spectral Properties of Bastnaesite

The spectral signature of Bastnaesite in the VNIR (400–1000 nm) is controlled by two mechanisms:

The classified Bastnaesite pixels exhibit a steeply rising NIR reflectance (0.2733 at 547 nm β†’ 0.4387 at 903 nm), consistently 1.5–1.7Γ— brighter than the unclassified background terrain. This behaviour is a hallmark of bright carbonate rocks and is consistent with exposures dominated by carbonatite mineralogy (calcite, dolomite, barite, and Bastnaesite).

7.3 Interpretation of Large SAM Angles

The minimum SAM angle across all valid image pixels is 0.402 rad (~23Β°). This is unusually large compared to standard mineral mapping thresholds of <0.05–0.10 rad for confident pure-mineral identification. The elevated angles are attributable to the following factors:

  1. Spectral mixing: At 3.4 m GSD, each pixel integrates reflectance from Bastnaesite ore, carbonate gangue (calcite/dolomite/barite), weathered soil, mine infrastructure, and desert pavement. No pixel is spectrally "pure" Bastnaesite.
  2. Limited spectral range: The 547–903 nm VNIR window captures only the shorter-wavelength Nd³⁺ f–f transitions. The most discriminative carbonate absorption features (SWIR 1.5–2.5 Β΅m) are outside the sensor range. AVIRIS-NG full-range data (covering to 2,500 nm) would dramatically improve classification accuracy.
  3. Surface weathering: Chemical weathering transforms primary Bastnaesite into secondary phases such as cerianite (CeOβ‚‚) and REE-bearing clay minerals, which have different spectral signatures.
  4. Mine infrastructure: Open-pit mines contain haul roads, conveyors, buildings, and water bodies that contaminate pixel spectra and introduce atypical spectral shapes.
  5. Shadow effects: Deep mine benches and talus slopes create intra-pixel illumination variation that alters apparent reflectance β€” a factor SAM is designed to mitigate (angles are illumination-insensitive) but cannot fully eliminate when sub-pixel shading changes the continuum shape.

7.4 Spatial Significance of Classified Pixels

The 4,544 Bastnaesite-classified pixels cover approximately 5.25 hectares (52,509 mΒ²), representing 0.65% of the valid image area. Their spatial distribution is geologically meaningful:

7.5 Recommendations for Improved Mapping

8. Conclusions

  1. The Spectral Angle Mapper (SAM) was applied to AVIRIS-NG VNIR hyperspectral imagery (547–903 nm, 72 bands) to map Bastnaesite [(Ce,La,Nd)FCO₃] at the Mountain Pass REE deposit, California.
  2. SAM spectral angles across valid image pixels ranged from 0.402 to 0.798 rad β€” larger than ideal due to spectral mixing, VNIR-only coverage, and surface weathering. The classification is therefore best interpreted as a relative measure of spectral similarity to Bastnaesite.
  3. A natural spectral-angle break at 0.46 rad was used as the classification threshold, capturing 4,544 Bastnaesite-similar pixels (β‰ˆ 5.25 ha, 0.65% of valid image area).
  4. Classified pixels are spatially concentrated in the active open-pit mine and associated waste dumps β€” geologically consistent with the location of the Sulfide Queen carbonatite ore body.
  5. The Bastnaesite class shows consistently higher NIR reflectance (0.27–0.44) than unclassified terrain (0.17–0.26), consistent with the bright carbonate mineralogy of the carbonatite complex.
  6. A Raster Color Slice (10 Γ— 0.01 rad intervals, 0.40–0.50 rad, Rainbow palette, black = outside range) provides a continuous visual representation of the spectral-angle gradient, confirming the spatial coherence of the low-angle (most Bastnaesite-like) pixel population.
  7. Extending the hyperspectral coverage into the SWIR (to 2,500 nm) and incorporating field spectra would substantially improve classification confidence and enable discrimination between co-occurring carbonate minerals (barite, calcite, dolomite).

9. ENVI Modeler Workflow

The complete SAM classification pipeline has been encoded as a reusable ENVI Modeler workflow (MountainPass_Bastnaesite_SAM.model). This allows the analysis to be repeated on any compatible hyperspectral dataset with minimal configuration β€” only two inputs need to be provided at runtime.

ENVI Modeler Workflow Diagram
Figure 6. ENVI Modeler workflow diagram for the Mountain Pass Bastnaesite SAM classification pipeline. Six processing stages are connected left-to-right. Teal nodes = user inputs / outputs; navy nodes = ENVI tasks; orange nodes = display views. White comment balloons annotate key parameters on each task node.

Workflow Structure

StageNodePurposeKey Parameters
(1)User InputsRuntime inputs provided by the userHyperspectral raster + Spectral Library (.sli)
(2)EndmemberCollectionResamples spectral library to image wavelengths; handles bad-band positions automaticallyspectral_library β†’ input_raster
(3)SpectralAngleMapperClassificationComputes per-pixel spectral angle; outputs continuous rule raster (radians)mean, class_names, class_colors from stage 2; output_rule_raster_uri = "!" (temp)
(4a)RuleRasterClassificationThresholds the rule raster to produce a discrete classificationminimum_rule = true; threshold = [0.46 rad]
(4b)ColorSliceClassificationCreates a 10-colour gradient map of the rule raster for visual QCnumber_of_ranges=10; range_size=0.01; data_minimum=0.40; color_table="Rainbow" (full, black for outside range)
(5)ClassificationStatisticsComputes per-class pixel counts and per-band spectral statisticsinput_class_raster from stage 4a; input_raster from stage 1
(6)Workflow OutputsExposes three outputs for downstream useRule raster Β· Classification Β· Color Slice

How to Use the Model

  1. In the IDL for VS Code extension, open ENVI Modeler and load MountainPass_Bastnaesite_SAM.model via File > Open.
  2. Click Run. A parameter dialog will appear with two user inputs:
    • Hyperspectral Image β€” select the AVIRIS-NG (or similar) reflectance raster.
    • Spectral Library β€” select an ENVI .sli spectral library containing the mineral reference spectrum.
  3. The workflow automatically resamples the library to the image bands (via EndmemberCollection), runs SAM, refines with the 0.46 rad threshold, generates the color slice, and displays all three results in ENVI views.
  4. To change the classification threshold, open the RuleRasterClassification node and edit threshold. To change the mineral target, supply a different spectral library and optionally add spectra_names to the EndmemberCollection node to select specific spectra from a multi-spectrum library.
Portability note: Unlike the original IDL scripted workflow, the model does not hardcode the reference spectrum. The EndmemberCollection task resamples any spectral library to the target image's wavelengths at runtime, making the workflow sensor-agnostic. It can be applied to AVIRIS, HySpex, PRISMA, DESIS, or any other ENVI-compatible hyperspectral dataset without modification.

Output Files

FileDescriptionFormat
SAM_rule_raster.dat / .hdrSAM spectral angle raster (0.40–0.80 rad, float32)ENVI BSQ
SAM_classification_final.dat / .hdrFinal 3-class classification (Unclassified / Bastnaesite / Masked Pixels)ENVI Classification
SAM_rule_colorslice2.dat / .hdrColor slice (10 intervals Γ— 0.01 rad, 0.40–0.50 rad, full Rainbow, black = outside range)ENVI Classification
classification_statistics.txtPer-class pixel counts, per-band min/max/mean/stddevJSON
screenshot_rgb.pngAVIRIS-NG CIR composite (NIR/Red/Green)PNG
screenshot_classification.pngENVI display screenshot β€” final classification mapPNG
screenshot_rule_raster.pngENVI display screenshot β€” SAM rule imagePNG
screenshot_colorslice.pngENVI display screenshot β€” raster color slice with color legend barPNG (2178 Γ— 968 px)
spectrum_cr_comparison.pngContinuum-removed spectrum comparison (SLI reference vs. SAM pixels mean)PNG (1200 Γ— 560 px)
screenshot_model.pngENVI Modeler workflow diagramPNG
MountainPass_Bastnaesite_SAM.modelReusable ENVI Modeler workflow file.model
MountainPass_SAM_Report.htmlThis reportHTML
MountainPass_SAM_Presentation.pptxPowerPoint presentationPPTX