00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00028 #ifndef cloudbox_h
00029 #define cloudbox_h
00030
00031 #include "matpackVII.h"
00032 #include "interpolation.h"
00033 #include "optproperties.h"
00034 #include "array.h"
00035 #include "gridded_fields.h"
00036
00037 void chk_if_pnd_zero_p(
00038 const Index& i_p,
00039 const GField3& pnd_field_raw,
00040 const String& pnd_field_file);
00041
00042 void chk_if_pnd_zero_lat(
00043 const Index& i_lat,
00044 const GField3& pnd_field_raw,
00045 const String& pnd_field_file);
00046
00047 void chk_if_pnd_zero_lon(
00048 const Index& i_lon,
00049 const GField3& pnd_field_raw,
00050 const String& pnd_field_file);
00051
00052 void chk_pnd_data(
00053 const GField3& pnd_field_raw,
00054 const String& pnd_field_file,
00055 const Index& atmosphere_dim,
00056 ConstVectorView p_grid,
00057 ConstVectorView lat_grid,
00058 ConstVectorView lon_grid,
00059 const ArrayOfIndex& cloudbox_limits);
00060
00061 void chk_pnd_raw_data(
00062 const ArrayOfGField3& pnd_field_raw,
00063 const String& pnd_field_file,
00064 const Index& atmosphere_dim,
00065 ConstVectorView p_grid,
00066 ConstVectorView lat_grid,
00067 ConstVectorView lon_grid,
00068 const ArrayOfIndex& cloudbox_limits);
00069
00070 void chk_single_scattering_data(
00071 const SingleScatteringData& scat_data_raw,
00072 const String& scat_data_file,
00073 ConstVectorView f_grid);
00074
00075 void iy_interp_cloudbox_field(
00076 Matrix& iy,
00077 const Tensor7& scat_i_p,
00078 const Tensor7& scat_i_lat,
00079 const Tensor7& scat_i_lon,
00080 const Tensor4& doit_i_field1D_spectrum,
00081 const GridPos& rte_gp_p,
00082 const GridPos& rte_gp_lat,
00083 const GridPos& rte_gp_lon,
00084 const Vector& rte_los,
00085 const Index& cloudbox_on,
00086 const ArrayOfIndex& cloudbox_limits,
00087 const Index& atmosphere_dim,
00088 const Index& stokes_dim,
00089 const Vector& scat_za_grid,
00090 const Vector& scat_aa_grid,
00091 const Vector& f_grid,
00092 const String& interpmeth );
00093
00094 #endif //cloudbox_h
00095