Commit 0b5c83c5 authored by Roberto Susino's avatar Roberto Susino
Browse files

Update error codes for UV pipeline

parent e17d02b3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -32,9 +32,9 @@ function metis_dark_uvda, data, header, cal_pack, error = error, quality_matrix

	; if not, exit with error code
	if ~ isa(obt_available) then begin
		journal, 'Error 12: UV applicable dark file not found.'
		journal, 'Error 02: UV applicable dark file not found.'
		journal
		exit, status = 12
		exit, status = 2
	endif

	; if yes, chose the temporally closest
+2 −2
Original line number Diff line number Diff line
@@ -112,9 +112,9 @@ pro metis_l2_prep_uv
	end

	else : begin
		journal, 'Error 11: wrong input data product (expected data types 1, 4, or 6).'
		journal, 'Error 01: wrong input data product (expected data types 1, 4, or 6).'
		journal
		exit, status = 11
		exit, status = 1
	end
	endcase