ocssw
V2022
|
modis_io_module.f90
Go to the documentation of this file.
157 ! call writeqaarray_toolkit(mapi_filedata, start, stride, edge, quality_assurance_1km,'Quality_Assurance_1km', status , HDF4_OUTPUT)
164 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, optical_thickness_final, 'Cloud_Optical_Thickness', status, HDF4_OUTPUT)
165 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, optical_thickness_final_PCL, 'Cloud_Optical_Thickness_PCL', status, HDF4_OUTPUT)
167 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, optical_thickness_1621_final, 'Cloud_Optical_Thickness_1621', status, HDF4_OUTPUT)
168 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, optical_thickness_1621_final_PCL, 'Cloud_Optical_Thickness_1621_PCL', status, HDF4_OUTPUT)
170 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, optical_thickness_16_final, 'Cloud_Optical_Thickness_16', status, HDF4_OUTPUT)
171 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, optical_thickness_16_final_PCL, 'Cloud_Optical_Thickness_16_PCL', status, HDF4_OUTPUT)
173 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, optical_thickness_37_final, 'Cloud_Optical_Thickness_37', status, HDF4_OUTPUT)
174 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, optical_thickness_37_final_PCL, 'Cloud_Optical_Thickness_37_PCL', status, HDF4_OUTPUT)
177 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, effective_radius_21_final, 'Cloud_Effective_Radius', status, HDF4_OUTPUT)
178 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, effective_radius_21_final_PCL, 'Cloud_Effective_Radius_PCL', status, HDF4_OUTPUT)
180 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, effective_radius_16_final, 'Cloud_Effective_Radius_16', status, HDF4_OUTPUT)
181 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, effective_radius_16_final_PCL, 'Cloud_Effective_Radius_16_PCL', status, HDF4_OUTPUT)
183 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, effective_radius_37_final, 'Cloud_Effective_Radius_37', status, HDF4_OUTPUT)
184 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, effective_radius_37_final_PCL, 'Cloud_Effective_Radius_37_PCL', status, HDF4_OUTPUT)
186 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, effective_radius_1621_final, 'Cloud_Effective_Radius_1621', status, HDF4_OUTPUT)
187 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, effective_radius_1621_final_PCL, 'Cloud_Effective_Radius_1621_PCL', status, HDF4_OUTPUT)
190 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, liquid_water_path, 'Cloud_Water_Path', status, HDF4_OUTPUT)
191 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_PCL, 'Cloud_Water_Path_PCL', status, HDF4_OUTPUT)
193 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_16, 'Cloud_Water_Path_16', status, HDF4_OUTPUT)
194 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_16_PCL, 'Cloud_Water_Path_16_PCL', status, HDF4_OUTPUT)
196 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_37, 'Cloud_Water_Path_37', status, HDF4_OUTPUT)
197 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_37_PCL, 'Cloud_Water_Path_37_PCL', status, HDF4_OUTPUT)
199 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_1621, 'Cloud_Water_Path_1621', status, HDF4_OUTPUT)
200 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_1621_PCL, 'Cloud_Water_Path_1621_PCL', status, HDF4_OUTPUT)
203 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, optical_thickness_error, 'Cloud_Optical_Thickness_Uncertainty', status, HDF4_OUTPUT)
204 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, optical_thickness_16_error, 'Cloud_Optical_Thickness_Uncertainty_16', status, HDF4_OUTPUT)
205 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, optical_thickness_37_error, 'Cloud_Optical_Thickness_Uncertainty_37', status, HDF4_OUTPUT)
206 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, optical_thickness_1621_error, 'Cloud_Optical_Thickness_Uncertainty_1621', status, HDF4_OUTPUT)
208 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, effective_radius_21_error, 'Cloud_Effective_Radius_Uncertainty', status, HDF4_OUTPUT)
209 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, effective_radius_16_error, 'Cloud_Effective_Radius_Uncertainty_16', status, HDF4_OUTPUT)
210 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, effective_radius_37_error, 'Cloud_Effective_Radius_Uncertainty_37', status, HDF4_OUTPUT)
211 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, effective_radius_1621_error, 'Cloud_Effective_Radius_Uncertainty_1621', status, HDF4_OUTPUT)
213 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_error, 'Cloud_Water_Path_Uncertainty', status, HDF4_OUTPUT)
214 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_16_error, 'Cloud_Water_Path_Uncertainty_16', status, HDF4_OUTPUT)
215 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_37_error, 'Cloud_Water_Path_Uncertainty_37', status, HDF4_OUTPUT)
216 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, liquid_water_path_1621_error, 'Cloud_Water_Path_Uncertainty_1621', status, HDF4_OUTPUT)
219 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, precip_water_094, 'Above_Cloud_Water_Vapor_094', status, HDF4_OUTPUT)
221 ! call writefloatarray_toolkit(mapi_filedata, start, stride, edge, irw_temperature, 'IRW_Low_Cloud_Temperature_From_COP', status, HDF4_OUTPUT)
226 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, tau_liquid, 'Cloud_Optical_Thickness_All_Liquid', status, HDF4_OUTPUT)
227 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, tau_ice, 'Cloud_Optical_Thickness_All_Ice', status, HDF4_OUTPUT)
229 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, re21_liquid, 'Cloud_Effective_Radius_All_Liquid', status, HDF4_OUTPUT)
230 ! call writeint2array_toolkit(mapi_filedata, start, stride, edge, re21_ice, 'Cloud_Effective_Radius_All_Ice', status, HDF4_OUTPUT)
237 ! call write_failed_array(mapi_filedata, start, stride, edge, failure_metric, 'Retrieval_Failure_Metric', status, HDF4_OUTPUT)
238 ! call write_failed_array(mapi_filedata, start, stride, edge, failure_metric_16, 'Retrieval_Failure_Metric_16', status, HDF4_OUTPUT)
239 ! call write_failed_array(mapi_filedata, start, stride, edge, failure_metric_37, 'Retrieval_Failure_Metric_37', status, HDF4_OUTPUT)
240 ! call write_failed_array(mapi_filedata, start, stride, edge, failure_metric_1621, 'Retrieval_Failure_Metric_1621', status, HDF4_OUTPUT)
242 ! call writebytearray_toolkit(mapi_filedata, start, stride, edge, cloud_layer_flag, 'Cloud_Multi_Layer_Flag', status, HDF4_OUTPUT)
251 ! call writebytearray_toolkit(mapi_filedata, start, stride, edge, cloud_phase_COP, 'Cloud_Phase_Optical_Properties', status, HDF4_OUTPUT)
257 ! call write3Dfloatarray(mapi_filedata, start, stride, edge, atm_corr_refl, 'Atm_Corr_Refl', status, HDF4_OUTPUT)
350 solar_constant_37 = 10.9295 ! average of Terra and Aqua values from table in Platnick and Fontenla (2008)
403 ! call read_float_array(geolocation_filedata, "Latitude", start, stride, edge, latitude, status)
404 ! call read_float_array(geolocation_filedata, "Longitude", start, stride, edge, longitude, status)
407 ! call read_int_array(geolocation_filedata, "SensorZenith", start, stride, edge, useoffset, sensor_zenith_angle, status)
409 ! call read_int_array(geolocation_filedata, "SensorAzimuth", start, stride, edge, useoffset, sensor_azimuth_angle, status)
412 ! call read_int_array(geolocation_filedata, "SolarZenith", meas_start, stride, meas_edge, useoffset, sza_temp, status)
414 ! call read_int_array(geolocation_filedata, "SolarAzimuth", start, stride, edge, useoffset, solar_azimuth_angle, status)
449 ! if (relative_azimuth_angle(i,j) <= 0.) relative_azimuth_angle(i,j) = -relative_azimuth_angle(i,j)
Definition: ch_xfr.f90:1
Definition: core_arrays.f90:1
real(single), dimension(:,:), allocatable longitude
Definition: core_arrays.f90:137
real(single), dimension(:,:), allocatable latitude
Definition: core_arrays.f90:136
real, dimension(:,:), allocatable sensor_azimuth_angle
Definition: core_arrays.f90:102
Definition: science_parameters.f90:1
Definition: modis_io_module.f90:1
Definition: GeneralAuxType.f90:1
real, dimension(:,:), allocatable solar_zenith_angle
Definition: core_arrays.f90:6
Definition: mod06_run_settings.f90:1
Definition: nonscience_parameters.f90:4
real, dimension(6) uncertain_sf
Definition: science_parameters.f90:57
real(single), dimension(:,:,:), allocatable band_measurements
Definition: core_arrays.f90:106
real, dimension(:,:), allocatable sensor_zenith_angle
Definition: core_arrays.f90:100
real(single), dimension(:,:), allocatable relative_azimuth_angle
Definition: core_arrays.f90:105
real, dimension(:,:,:), allocatable band_uncertainty
Definition: core_arrays.f90:108
real, dimension(:,:), allocatable solar_azimuth_angle
Definition: core_arrays.f90:103
real, dimension(6) spec_uncertain
Definition: science_parameters.f90:57
subroutine, public get_modis_data_cube(level1b_filedata, geolocation_filedata, start, edge, stride, meas_start, meas_edge, scan_number, debug, status)
Definition: modis_io_module.f90:293