Skip to content
Snippets Groups Projects
Commit 60040876 authored by Roberto Susino's avatar Roberto Susino
Browse files

Manage new header version for Metis OBSW 2.2.0

parent 342b1454
No related branches found
No related tags found
No related merge requests found
......@@ -181,12 +181,18 @@ pro metis_l2_prep_vl_polariz
; check the polarization state of the image and select the corresponding dacpol value
if fix(data_header[j].hdr_vers) le 4 then begin
case data_header[j].pol_id of
1: dacpol = data_header[j].dac1pol1
2: dacpol = data_header[j].dac1pol2
3: dacpol = data_header[j].dac1pol3
4: dacpol = data_header[j].dac1pol4
endcase
endif
if fix(data_header[j].hdr_vers) ge 5 then begin
dacpol = data_header[j].dac1pol1
endif
; select the correct demodulation tensor element based on effective angle and stokes paramater
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment