OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ch_xfr.f90
Go to the documentation of this file.
1 module ch_xfr
2  ! this will contain all data needed for chimaera use for a line
3  ! (and any surrounding lines) from l2gen
4  !
5  ! Also, any new data to transfer out
6  !
7  ! W. Robinson, SAIC, Nov 2018
8  !
9  ! l1b data
10  real, allocatable, dimension( :,:,: ) :: c2_refl, c2_bnd_unc
11  real, allocatable, dimension( : ) :: c2_spec_unc, c2_unc_sf
12  real, allocatable, dimension( :,: ) :: c2_lat, c2_lon, c2_senz
13  real, allocatable, dimension( :,: ) :: c2_sena, c2_solz, c2_sola, c2_relaz
14  ! anc data
15  real, allocatable, dimension( :,:,: ) :: c2_prof_mixr, c2_prof_t
16  real, allocatable, dimension( :,:,: ) :: c2_prof_p, c2_prof_hgt
17  real, allocatable, dimension( :,: ) :: c2_tsfc, c2_psfc, c2_tot_o3
18  real, allocatable, dimension( :,: ) :: c2_wind
19  real, allocatable, dimension( :,: ) :: c2_ice_frac, c2_snow_frac
20  real, allocatable, dimension( :,: ) :: c2_alt_o3, c2_alt_icec
21  ! anc sfc albedo
22  real, allocatable, dimension( :,:,: ) :: c2_sfc_albedo
23  !
24  integer*1, allocatable, dimension( :,: ) :: c2_sfc_lvl, c2_trop_lvl
25  integer, allocatable, dimension( :,: ) :: c2_alt_snowice
26  ! cloud mask data
27  integer*1, allocatable, dimension( :,: ) :: c2_cld_det, c2_conf_cld
28  integer*1, allocatable, dimension( :,: ) :: c2_clr_66, c2_clr_95, c2_clr_99
29  integer*1, allocatable, dimension( :,: ) :: c2_sno_sfc, c2_wtr_sfc
30  integer*1, allocatable, dimension( :,: ) :: c2_coast_sfc, c2_desert_sfc
31  integer*1, allocatable, dimension( :,: ) :: c2_lnd_sfc, c2_night, c2_glint
32  integer*1, allocatable, dimension( :,: ) :: c2_ocean_no_snow, c2_ocean_snow
33  integer*1, allocatable, dimension( :,: ) :: c2_lnd_no_snow, c2_lnd_snow
34  integer*1, allocatable, dimension( :,: ) :: c2_tst_h_138, c2_tst_vis_refl
35  integer*1, allocatable, dimension( :,: ) :: c2_tst_vis_ratio, c2_vis_cld_250
36  integer*1, allocatable, dimension( :,: ) :: c2_appl_hcld_138
37  integer*1, allocatable, dimension( :,: ) :: c2_appl_vis_refl
38  integer*1, allocatable, dimension( :,: ) :: c2_appl_vis_nir_ratio
39  !
40  ! band presence array
41  integer*1, allocatable, dimension( : ) :: c2_cmp_there
42  !
43  ! dimensions, location in whole chunck
46  !
47  ! c2_sensor_id, the identification of which sensor is being used
48  integer :: c2_sensor_id
49  integer :: oci_id = 31 ! code for OCIS from sensorDefs.h
50  !
51  ! the cm_from_l2 is a switch to say read from the l2 inputs instead of
52  ! the work file
53  integer :: cm_from_l2
54  character(len=500) :: c2_cloud_hgt_file
55  !
56  !
57  ! And now for data to transfer out to l2gen -- diagnostic for the point refl
58  ! relative to the table
59  real, allocatable, dimension( :,:,: ) :: prd_out_refl_loc_2100
60  real, allocatable, dimension( :,:,: ) :: prd_out_refl_loc_1600
61  real, allocatable, dimension( :,:,: ) :: prd_out_refl_loc_1621
65 
66  ! Also the save arrays, so the 3-line results are saved
67  real, allocatable, dimension( :,:,: ) :: prd_out_refl_loc_2100_sav
68  real, allocatable, dimension( :,:,: ) :: prd_out_refl_loc_1600_sav
69  real, allocatable, dimension( :,:,: ) :: prd_out_refl_loc_1621_sav
70 end module ch_xfr
Definition: ch_xfr.f90:1
real, dimension(:,:), allocatable c2_alt_icec
Definition: ch_xfr.f90:20
integer *1, dimension(:,:), allocatable c2_trop_lvl
Definition: ch_xfr.f90:24
real, dimension(:,:), allocatable c2_psfc
Definition: ch_xfr.f90:17
integer, dimension(:,:), allocatable c2_alt_snowice
Definition: ch_xfr.f90:25
integer *1, dimension(:,:), allocatable c2_wtr_sfc
Definition: ch_xfr.f90:29
integer c2_g_year
Definition: ch_xfr.f90:44
integer *1, dimension(:,:), allocatable c2_clr_99
Definition: ch_xfr.f90:28
integer c2_nbnd_albedo
Definition: ch_xfr.f90:44
integer refl_abs
Definition: ch_xfr.f90:62
real, dimension(:,:,:), allocatable c2_prof_hgt
Definition: ch_xfr.f90:16
real, dimension(:,:,:), allocatable c2_bnd_unc
Definition: ch_xfr.f90:10
integer *1, dimension(:,:), allocatable c2_sno_sfc
Definition: ch_xfr.f90:29
real, dimension(:,:), allocatable c2_lon
Definition: ch_xfr.f90:12
real, dimension(:,:,:), allocatable prd_out_refl_loc_2100_sav
Definition: ch_xfr.f90:67
integer *1, dimension(:,:), allocatable c2_appl_hcld_138
Definition: ch_xfr.f90:36
integer *1, dimension(:,:), allocatable c2_vis_cld_250
Definition: ch_xfr.f90:35
integer cm_from_l2
Definition: ch_xfr.f90:53
real, dimension(:,:), allocatable c2_sena
Definition: ch_xfr.f90:13
integer *1, dimension(:,:), allocatable c2_tst_h_138
Definition: ch_xfr.f90:34
integer *1, dimension(:,:), allocatable c2_ocean_snow
Definition: ch_xfr.f90:32
integer *1, dimension(:,:), allocatable c2_desert_sfc
Definition: ch_xfr.f90:30
integer tbl_lo_nabs_ice
Definition: ch_xfr.f90:62
real, dimension(:), allocatable c2_unc_sf
Definition: ch_xfr.f90:11
real, dimension(:,:,:), allocatable prd_out_refl_loc_1621_sav
Definition: ch_xfr.f90:69
real, dimension(:,:,:), allocatable c2_prof_mixr
Definition: ch_xfr.f90:15
real, dimension(:,:,:), allocatable prd_out_refl_loc_1600
Definition: ch_xfr.f90:60
real, dimension(:,:), allocatable c2_solz
Definition: ch_xfr.f90:13
real, dimension(:,:,:), allocatable c2_sfc_albedo
Definition: ch_xfr.f90:22
integer *1, dimension(:,:), allocatable c2_night
Definition: ch_xfr.f90:31
real, dimension(:,:), allocatable c2_lat
Definition: ch_xfr.f90:12
integer c2_nlin
Definition: ch_xfr.f90:44
real, dimension(:,:), allocatable c2_tsfc
Definition: ch_xfr.f90:17
integer tbl_hi_nabs_ice
Definition: ch_xfr.f90:62
real, dimension(:,:,:), allocatable prd_out_refl_loc_1600_sav
Definition: ch_xfr.f90:68
integer refl_nabs
Definition: ch_xfr.f90:62
integer *1, dimension(:,:), allocatable c2_cld_det
Definition: ch_xfr.f90:27
integer *1, dimension(:,:), allocatable c2_appl_vis_refl
Definition: ch_xfr.f90:37
real, dimension(:,:), allocatable c2_relaz
Definition: ch_xfr.f90:13
integer c2_npix
Definition: ch_xfr.f90:44
real, dimension(:,:), allocatable c2_ice_frac
Definition: ch_xfr.f90:19
integer *1, dimension(:,:), allocatable c2_tst_vis_refl
Definition: ch_xfr.f90:34
character(len=500) c2_cloud_hgt_file
Definition: ch_xfr.f90:54
integer c2_g_day
Definition: ch_xfr.f90:44
integer *1, dimension(:,:), allocatable c2_coast_sfc
Definition: ch_xfr.f90:30
integer c2_sensor_id
Definition: ch_xfr.f90:48
integer *1, dimension(:,:), allocatable c2_glint
Definition: ch_xfr.f90:31
integer *1, dimension(:,:), allocatable c2_lnd_snow
Definition: ch_xfr.f90:33
real, dimension(:,:,:), allocatable c2_prof_p
Definition: ch_xfr.f90:16
integer tbl_hi_abs_ice
Definition: ch_xfr.f90:62
real, dimension(:,:,:), allocatable prd_out_refl_loc_1621
Definition: ch_xfr.f90:61
integer *1, dimension(:,:), allocatable c2_lnd_sfc
Definition: ch_xfr.f90:31
integer *1, dimension(:,:), allocatable c2_tst_vis_ratio
Definition: ch_xfr.f90:35
integer tbl_lo_abs_ice
Definition: ch_xfr.f90:62
integer *1, dimension(:,:), allocatable c2_appl_vis_nir_ratio
Definition: ch_xfr.f90:38
integer *1, dimension(:,:), allocatable c2_clr_95
Definition: ch_xfr.f90:28
integer c2_scan
Definition: ch_xfr.f90:44
integer tbl_lo_nabs
Definition: ch_xfr.f90:62
integer *1, dimension(:,:), allocatable c2_lnd_no_snow
Definition: ch_xfr.f90:33
integer c2_nlvl_model
Definition: ch_xfr.f90:44
integer *1, dimension(:,:), allocatable c2_ocean_no_snow
Definition: ch_xfr.f90:32
integer *1, dimension(:,:), allocatable c2_sfc_lvl
Definition: ch_xfr.f90:24
integer oci_id
Definition: ch_xfr.f90:49
real, dimension(:,:), allocatable c2_alt_o3
Definition: ch_xfr.f90:20
integer c2_nbnd
Definition: ch_xfr.f90:44
integer tbl_hi_nabs
Definition: ch_xfr.f90:62
integer tbl_lo_abs
Definition: ch_xfr.f90:62
integer *1, dimension(:,:), allocatable c2_clr_66
Definition: ch_xfr.f90:28
integer c2_st_samp
Definition: ch_xfr.f90:44
integer tbl_hi_abs
Definition: ch_xfr.f90:62
real, dimension(:,:), allocatable c2_snow_frac
Definition: ch_xfr.f90:19
real, dimension(:,:), allocatable c2_wind
Definition: ch_xfr.f90:18
real, dimension(:,:), allocatable c2_senz
Definition: ch_xfr.f90:12
real, dimension(:,:,:), allocatable prd_out_refl_loc_2100
Definition: ch_xfr.f90:59
real, dimension(:,:,:), allocatable c2_prof_t
Definition: ch_xfr.f90:15
real, dimension(:,:), allocatable c2_sola
Definition: ch_xfr.f90:13
real, dimension(:), allocatable c2_spec_unc
Definition: ch_xfr.f90:11
real, dimension(:,:), allocatable c2_tot_o3
Definition: ch_xfr.f90:17
integer *1, dimension(:), allocatable c2_cmp_there
Definition: ch_xfr.f90:41
integer *1, dimension(:,:), allocatable c2_conf_cld
Definition: ch_xfr.f90:27
real, dimension(:,:,:), allocatable c2_refl
Definition: ch_xfr.f90:10