{"id":45598,"date":"2021-03-10T08:54:37","date_gmt":"2021-03-10T08:54:37","guid":{"rendered":"https:\/\/nwp-saf.eumetsat.int\/site\/?page_id=45598"},"modified":"2026-03-26T12:05:33","modified_gmt":"2026-03-26T12:05:33","slug":"radsim-code-updates-and-known-issues","status":"publish","type":"page","link":"https:\/\/nwp-saf.eumetsat.int\/site\/software\/radiance-simulator\/radsim-code-updates-and-known-issues\/","title":{"rendered":"RadSim Code Updates and Known Issues"},"content":{"rendered":"<h2>RadSim Code Updates<\/h2>\n<p>Updates and bug fixes to the Radiance Simulator for all versions since v2.0 are published here.<\/p>\n<h3>Known bugs and issues<\/h3>\n<p>Please report any bugs you find in RadSim using the <a href=\"https:\/\/nwp-saf.eumetsat.int\/site\/login\/?redirect_to=https%3A%2F%2Fnwp-saf.eumetsat.int%2Fsite%2Fhelpdesk%2F\">NWP SAF Feedback Form<\/a>. The official release packages do not contain the bug fixes or updates listed here so you should apply any fixes provided below. Bugs in earlier versions have been fixed in later versions unless otherwise stated. See also <a href=\"https:\/\/nwp-saf.eumetsat.int\/site\/software\/rttov\/rttov-v14\/code-updates\/\">bugs in RTTOV<\/a> that may affect simulations in RadSim.<\/p>\n<p><b><div id=\"table41-link-45598\" class=\"sh-link table41-link sh-show\"><a href=\"#\" onclick=\"showhide_toggle('table41', 45598, 'Hide table of known bugs and other updates in RadSim v4.1.', 'Show table of known bugs and other updates in RadSim v4.1.'); return false;\" aria-expanded=\"true\"><span id=\"table41-toggle-45598\">Hide table of known bugs and other updates in RadSim v4.1.<\/span><\/a><\/div><div id=\"table41-content-45598\" class=\"sh-content table41-content sh-show\" style=\"display: block;\">\n\n<table id=\"tablepress-RadSim_v41_bug_list\" class=\"tablepress tablepress-id-RadSim_v41_bug_list\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><i>Date<\/i><\/th><th class=\"column-2\"><i>Type\/Status<\/i><\/th><th class=\"column-3\"><i>Description<\/i><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\"><\/td><td class=\"column-2\"><\/td><td class=\"column-3\">No known bugs<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-RadSim_v41_bug_list from cache -->\n<\/div><\/b><\/p>\n<p><b><div id=\"table40-link-45598\" class=\"sh-link table40-link sh-show\"><a href=\"#\" onclick=\"showhide_toggle('table40', 45598, 'Hide table of known bugs and other updates in RadSim v4.0. Bugs listed above may also affect v4.0.', 'Show table of known bugs and other updates in RadSim v4.0. Bugs listed above may also affect v4.0.'); return false;\" aria-expanded=\"true\"><span id=\"table40-toggle-45598\">Hide table of known bugs and other updates in RadSim v4.0. Bugs listed above may also affect v4.0.<\/span><\/a><\/div><div id=\"table40-content-45598\" class=\"sh-content table40-content sh-show\" style=\"display: block;\">\n\n<table id=\"tablepress-RadSim_v40_bug_list\" class=\"tablepress tablepress-id-RadSim_v40_bug_list\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><i>Date<\/i><\/th><th class=\"column-2\"><i>Type\/Status<\/i><\/th><th class=\"column-3\"><i>Description<\/i><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">30\/01\/2026<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: obs data files using \"version 2\" format with fewer than 5 columns (affects RadSim v4.0, v3.x, v2.x).<br \/>\n<br \/>\nIssue: it is possible for simulations to fail or produce unexpected results due to bad inputs being provided to RTTOV. This is caused by a missing initialisation when reading the column information from the obs data file.<br \/>\n<br \/>\nFix: for RadSim v4.0 download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim4_files\/radsim_read_obsdata_text.f90\">this file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim.<br \/>\n<br \/>\nPlease contact the help desk for a fix for v3.x or v2.x.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-RadSim_v40_bug_list from cache -->\n<\/div><\/b><\/p>\n<hr \/>\n<p><b><div id=\"table32-link-45598\" class=\"sh-link table32-link sh-hide\"><a href=\"#\" onclick=\"showhide_toggle('table32', 45598, 'Show table of known bugs and other updates in RadSim v3.2. Bugs listed above may also affect v3.2.', 'Hide table of known bugs and other updates in RadSim v3.2. Bugs listed above may also affect v3.2.'); return false;\" aria-expanded=\"false\"><span id=\"table32-toggle-45598\">Show table of known bugs and other updates in RadSim v3.2. Bugs listed above may also affect v3.2.<\/span><\/a><\/div><div id=\"table32-content-45598\" class=\"sh-content table32-content sh-hide\" style=\"display: none;\">\n\n<table id=\"tablepress-RadSim_v32_bug_list\" class=\"tablepress tablepress-id-RadSim_v32_bug_list\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><i>Date<\/i><\/th><th class=\"column-2\"><i>Type\/Status<\/i><\/th><th class=\"column-3\"><i>Description<\/i><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">24\/03\/2025<\/td><td class=\"column-2\">Functionality update<\/td><td class=\"column-3\">Affects: reading more recent ECMWF model data in netCDF format (v3.x, v2.2).<br \/>\n<br \/>\nIssue: the file format has changed slightly such that the existing code is not compatible with more recent netCDF files.<br \/>\n<br \/>\nFix: <br \/>\nFor v3.2 and v3.1 download and extract  <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim3_files\/v3.2\/radsim3.2_ec_netcdf_format_update.tar\">this tarball<\/a> containing updated source files to <i>src\/code\/main\/<\/i> and recompile RadSim. Note that pre-existing netCDF files are still supported: this update adds compatibility with recent files.<br \/>\n<br \/>\nFor updates for v3.0 and v2.2, please contact the help desk.<br \/>\n<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">02\/09\/2024<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: the <i>radsim_geo_obs.py<\/i> script (v3.x).<br \/>\n<br \/>\nIssue: the script does not handle longitudes correctly, so for some \"geo obs data files\" (notably the himawari file provided on the RadSim website) it fails with an error reporting non-monotonic longitudes.<br \/>\n<br \/>\nFix: download this <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim3_files\/radsim_geo_obs.py\">updated version<\/a> of the script (applies to RadSim 3.x).<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">05\/07\/2024<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: flagging of bad emissivities and BRDFs from the emissivity\/BRDF atlases (v3.x, v2.2).<br \/>\n<br \/>\nIssue: for emissivities, RadSim sets flags for bad emissivities even when no thermal channels are being simulated. For BRDFs, an indexing error means that bad BRDFs may be incorrectly flagged if running with a subset of instrument channels (there is no issue if all sensor channels are simulated).<br \/>\n<br \/>\nFix:<br \/>\nFor v3.2 and v3.1 download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim3_files\/v3.2\/radsim_run_batch.f90\">this updated source<\/a> file to <i>src\/code\/main\/<\/i> and recompile RadSim. <br \/>\n<br \/>\nFor v3.0 download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim3_files\/radsim_run_batch.f90\">this updated source<\/a> file to <i>src\/code\/main\/<\/i> and recompile RadSim. <br \/>\n<br \/>\nFor v2.2 download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/v2.2\/radsim_run_batch.f90\">this updated source<\/a> file to <i>src\/code\/main\/<\/i> and recompile RadSim. <br \/>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-RadSim_v32_bug_list from cache -->\n<\/div><\/b><\/p>\n<p><b><div id=\"table31-link-45598\" class=\"sh-link table31-link sh-hide\"><a href=\"#\" onclick=\"showhide_toggle('table31', 45598, 'Show table of known bugs and other updates in RadSim v3.1. Bugs listed above may also affect v3.1.', 'Hide table of known bugs and other updates in RadSim v3.1. Bugs listed above may also affect v3.1.'); return false;\" aria-expanded=\"false\"><span id=\"table31-toggle-45598\">Show table of known bugs and other updates in RadSim v3.1. Bugs listed above may also affect v3.1.<\/span><\/a><\/div><div id=\"table31-content-45598\" class=\"sh-content table31-content sh-hide\" style=\"display: none;\">\n\n<table id=\"tablepress-RadSim_v31_bug_list\" class=\"tablepress tablepress-id-RadSim_v31_bug_list\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><i>Date<\/i><\/th><th class=\"column-2\"><i>Type\/Status<\/i><\/th><th class=\"column-3\"><i>Description<\/i><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">24\/11\/2022<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: ECMWF data in netCDF format (v3.1, v3.0, v2.2).<br \/>\n<br \/>\nIssue: RadSim checks that the data are on a regular lat\/lon grid. In some circumstances (identified when using data on a 0.1 degree lat\/lon grid) rounding errors cause RadSim to falsely report an irregular grid and to stop running because the tolerance used for this check is exceeded. If RadSim is running fine for you then there is no problem.<br \/>\n<br \/>\nFix:<br \/>\nFor v3.1 download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim3_files\/v3.1\/radsim_read_netcdf.f90\">this updated source<\/a> file to <i>src\/code\/main\/<\/i> and recompile RadSim. <br \/>\n<br \/>\nFor v3.0 download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim3_files\/radsim_read_netcdf.f90\">this updated source<\/a> file to <i>src\/code\/main\/<\/i> and recompile RadSim. <br \/>\n<br \/>\nFor v2.2 download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/v2.2\/radsim_read_netcdf.f90\">this updated source<\/a> file to <i>src\/code\/main\/<\/i> and recompile RadSim. <br \/>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-RadSim_v31_bug_list from cache -->\n<\/div><\/b><\/p>\n<p><b><div id=\"table30-link-45598\" class=\"sh-link table30-link sh-hide\"><a href=\"#\" onclick=\"showhide_toggle('table30', 45598, 'Show table of known bugs and other updates in RadSim v3.0. Bugs listed above may also affect v3.0.', 'Hide table of known bugs and other updates in RadSim v3.0. Bugs listed above may also affect v3.0.'); return false;\" aria-expanded=\"false\"><span id=\"table30-toggle-45598\">Show table of known bugs and other updates in RadSim v3.0. Bugs listed above may also affect v3.0.<\/span><\/a><\/div><div id=\"table30-content-45598\" class=\"sh-content table30-content sh-hide\" style=\"display: none;\">\n\n<table id=\"tablepress-RadSim_v30_bug_list\" class=\"tablepress tablepress-id-RadSim_v30_bug_list\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><i>Date<\/i><\/th><th class=\"column-2\"><i>Type\/Status<\/i><\/th><th class=\"column-3\"><i>Description<\/i><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">09\/12\/2021<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: footprint simulations (v3.0 only).<br \/>\n<br \/>\nIssue: when observations lie exactly on grid points, the footprint calculation can sometimes result in numerical errors due to rounding.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim3_files\/radsim_model_to_obs.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim.<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">03\/12\/2021<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: the interpreter specified in the <i>radsim_geo_obs.py<\/i> script (v3.0 only).<br \/>\n<br \/>\nIssue: the script contains a typo which means it cannot be executed directly. There is no problem if it is executed using:<br \/>\n<i>$ python radsim_geo_obs.py<\/i><br \/>\n<br \/>\nFix: download this <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim3_files\/radsim_geo_obs.py\">updated version<\/a> of the script.<br \/>\n<br \/>\nNB This update now includes the fix described above under RadSim v3.2 dated 02\/09\/2024.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-RadSim_v30_bug_list from cache -->\n<\/div><\/b><\/p>\n<hr \/>\n<p><b><div id=\"table22-link-45598\" class=\"sh-link table22-link sh-hide\"><a href=\"#\" onclick=\"showhide_toggle('table22', 45598, 'Show table of known bugs and other updates in RadSim v2.2. Bugs listed above may also affect v2.2.', 'Hide table of known bugs and other updates in RadSim v2.2. Bugs listed above may also affect v2.2.'); return false;\" aria-expanded=\"false\"><span id=\"table22-toggle-45598\">Show table of known bugs and other updates in RadSim v2.2. Bugs listed above may also affect v2.2.<\/span><\/a><\/div><div id=\"table22-content-45598\" class=\"sh-content table22-content sh-hide\" style=\"display: none;\">\n\n<table id=\"tablepress-RadSim_v22_bug_list\" class=\"tablepress tablepress-id-RadSim_v22_bug_list\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><i>Date<\/i><\/th><th class=\"column-2\"><i>Type\/Status<\/i><\/th><th class=\"column-3\"><i>Description<\/i><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">09\/03\/2021<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: simulations using regular lat\/lon model grids for non-global domains where observations lie on the latitude boundary. Affects RadSim v2.x.<br \/>\n<br \/>\nIssue: the interpolation code does not correctly handle observations that lie exactly on the latitude boundary of the model domain.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/v2.2\/radsim_interp_horiz.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim. This applies to RadSim v2.1 and v2.2. Please contact the Help desk if you require a fix for RadSim v2.0.<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">07\/10\/2020<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: output of <i>qcrttov<\/i> quality flags. Affects RadSim 2.x.<br \/>\n<br \/>\nIssue: the <i>qcinfo(:)<\/i> array was being written instead of the <i>qcrttov(:)<\/i> array to the <i>qcrttov<\/i> dataset in the output netCDF file.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/v2.2\/radsim_write_netcdf_obs_1d.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim. This applies to RadSim v2.1 and v2.2.<br \/>\nFor RadSim v2.0 use <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_write_netcdf_obs_1d.f90\">this source file<\/a> instead.<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">07\/10\/2020<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: nearest neighbour interpolation used when ingesting DWD ICON fields with an observation datafile (v2.2 only).<br \/>\n<br \/>\nIssue: the method for determining nearest neighbours was not strictly correct, so that although it returned one of the neighbouring grid points to each observation, it didn't always return strictly the nearest.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/v2.2\/radsim_interp_index.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim. Note this update fixes the bug below dated 29\/01\/2020 and supersedes the bug below dated 03\/01\/2020. <\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">29\/01\/2020<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: interpolation when running RadSim using model data with a rotated pole and an observation datafile when the model longitudes include negative values. Affects all RadSim v2.x versions.<br \/>\n<br \/>\nIssue: the interpolation does not account for negative longitudes in the model grid with rotated poles with the result that RTTOV is run with incorrect profile data and typically reports run-time failures.<br \/>\n<br \/>\nThis bug has been fixed: download the update for the nearest-neighbour bug above dated 07\/10\/2020. The fix above applies to all RadSim 2.x versions.<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">03\/01\/2020<\/td><td class=\"column-2\">Bug - fixed\/superseded<\/td><td class=\"column-3\">NB This bug no longer applies: the fix above dated 07\/10\/2020 replaces the nearest neighbour calculation with a more accurate method. It is recommended to apply the above fix.<br \/>\n<br \/>\nAffects: nearest neighbour interpolation used when ingesting DWD ICON fields with an observation datafile (v2.2 only).<br \/>\n<br \/>\nIssue: for observations with longitudes close to 0\/360 degrees, the interpolation may not always yield the closest grid point to the observation location due to the code not checking the minimal longitudinal distance between points.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-RadSim_v22_bug_list from cache -->\n<\/div><\/b><\/p>\n<p><b><div id=\"table21-link-45598\" class=\"sh-link table21-link sh-hide\"><a href=\"#\" onclick=\"showhide_toggle('table21', 45598, 'Show table of known bugs and other updates in RadSim v2.1. Bugs listed above may also affect v2.1.', 'Hide table of known bugs and other updates in RadSim v2.1. Bugs listed above may also affect v2.1.'); return false;\" aria-expanded=\"false\"><span id=\"table21-toggle-45598\">Show table of known bugs and other updates in RadSim v2.1. Bugs listed above may also affect v2.1.<\/span><\/a><\/div><div id=\"table21-content-45598\" class=\"sh-content table21-content sh-hide\" style=\"display: none;\">\n\n<table id=\"tablepress-RadSim_v21_bug_list\" class=\"tablepress tablepress-id-RadSim_v21_bug_list\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><i>Date<\/i><\/th><th class=\"column-2\"><i>Type\/Status<\/i><\/th><th class=\"column-3\"><i>Description<\/i><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">01\/08\/2018<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: <i>nprofs_per_call<\/i> configuration namelist variable (v2.1 only).<br \/>\n<br \/>\nIssue: this variable is not recognised in the configuration namelist so cannot be modified.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/v2.1\/radsim_mod_cfg.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-RadSim_v21_bug_list from cache -->\n<\/div><\/b><\/p>\n<p><b><div id=\"table20-link-45598\" class=\"sh-link table20-link sh-hide\"><a href=\"#\" onclick=\"showhide_toggle('table20', 45598, 'Show table of known bugs and other updates in RadSim v2.0. Bugs listed above may also affect v2.0.', 'Hide table of known bugs and other updates in RadSim v2.0. Bugs listed above may also affect v2.0.'); return false;\" aria-expanded=\"false\"><span id=\"table20-toggle-45598\">Show table of known bugs and other updates in RadSim v2.0. Bugs listed above may also affect v2.0.<\/span><\/a><\/div><div id=\"table20-content-45598\" class=\"sh-content table20-content sh-hide\" style=\"display: none;\">\n\n<table id=\"tablepress-RadSim_v20_bug_list\" class=\"tablepress tablepress-id-RadSim_v20_bug_list\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\"><i>Date<\/i><\/th><th class=\"column-2\"><i>Type\/Status<\/i><\/th><th class=\"column-3\"><i>Description<\/i><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">31\/05\/2018<\/td><td class=\"column-2\">Bugs - fixed<\/td><td class=\"column-3\">Affects:<br \/>\na) IR cloud simulations using ECMWF GRIB data or NWP SAF profile datasets.<br \/>\nb) IR cloud simulations using UM data.<br \/>\nc) all simulations where the first profile being simulated lies outside the domain of the model data.<br \/>\n<br \/>\nIssue:<br \/>\na) The ECMWF cloud liquid and ice concentrations are grid box average values. For IR cloud simulations RTTOV requires the cloud concentration of the cloud fraction of the layer. This means the model concentrations should be divided by the cloud fraction before being passed to RTTOV. This was not being done meaning that cloud concentrations were usually too small.<br \/>\n<br \/>\nb) The UM cloud concentrations are also grid box average values, and the UM provides individual cloud fractions for liquid and ice cloud in addition to the total (area) cloud fraction. Previously RadSim would divide the liquid and ice concentrations by the liquid and ice cloud fractions respectively if present, otherwise it would pass the cloud concentrations directly to RTTOV (which is similar to the situation above for ECMWF data). RTTOV only allows for a single cloud fraction per layer and all cloud present in the layer is assumed to be well-mixed within this fraction. Therefore it is expected that in practice the liquid and ice cloud concentrations should both be divided by the area cloud fraction instead of the individual cloud fractions. This affects only profiles with mixed phase cloud layers, and it can have a substantial impact on simulated radiances. The updated code replicates the current behaviour by using the separate liquid and ice cloud fractions if they are present, but if they are absent the area cloud fraction is used instead. It is recommended not to include separate liquid and ice cloud fraction fields in UM data when running RadSim.<br \/>\n<br \/>\nc) If the first profile being simulated lies outside the domain of the model data, all simulated output may be wrong.<br \/>\n<br \/>\nFix: these bugs and all bugs listed below can be fixed by downloading <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim2.0_updates_up_to_20180531.tar\">this tar ball<\/a>, extracting it in <i>src\/code\/main\/<\/i> and recompiling RadSim.<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">11\/05\/2018<\/td><td class=\"column-2\">All bug fixes to date<\/td><td class=\"column-3\">You can apply all bug fixes\/updates listed below by downloading <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim2.0_updates_up_to_20180511.tar\">this tar ball<\/a>, extracting it in <i>src\/code\/main\/<\/i> and recompiling RadSim.<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">11\/05\/2018<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: ingest of UM fieldsfiles<br \/>\n<br \/>\nIssue: array bounds violation related to 10m wind fields.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_read_fieldsfile.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim.<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">06\/11\/2017<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: all simulations using an observation data file with very small negative longitudes (magnitude of order 1E-5, or equivalently longitudes just less than 360 degrees).<br \/>\n<br \/>\nIssue: the code which interpolates the longitude incorrectly generates an out-of-bounds array index for longitudes very slightly less than 0 (or 360) degrees due to single precision rounding which results in no simulated data being produced for those profiles.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_interp_index.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim.<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">30\/08\/2017<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: MW scattering simulations (<i>run_scatt<\/i> true) with UM PP files<br \/>\n<br \/>\nIssue: the rain field is omitted from simulations if the <i>use_totalice<\/i> option is true.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_set_stash.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim.<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">24\/08\/2017<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: potentially all simulations<br \/>\n<br \/>\nIssue: some model data can include negative values for gas concentrations, typically in the top-most level, which cause failures if passed into RTTOV. These are now clipped to a suitable small positive value which avoids such failures and has negligible impact on simulated radiances.<br \/>\n<br \/>\nThese bugs have been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_model_to_rttov.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim. NB This update includes the fix below dated 08\/08\/2017 affecting the same source file (<i>radsim_model_to_rttov.f90<\/i>).<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">11\/08\/2017<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: Jacobian calculations which are processed with multiple calls to <i>rttov_k<\/i> (i.e. in multiple batches)<br \/>\n<br \/>\nIssue: The RTTOV Jacobian variables are not initialised within the batch loop which means that Jacobians for subsequent batches are accumulated together in the output.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_run_batch.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim.<br \/>\n<br \/>\nNB This update also modifies the behaviour related to the emissivity atlases: previously if the emissivity atlas did not return valid emissivities for a given profile, that profile was omitted from the simulations. Now those profiles are processed and the fixed emissivities are used as in the case where <i>use_emiss_atlas<\/i> is set to false.<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">09\/08\/2017<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: MW scattering simulations (<i>run_scatt<\/i> true)<br \/>\n<br \/>\nIssue: An array bounds error which causes run-time failures with some compilers. Does not affect output if RadSim runs without failure.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_init_rttov_data.F90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim.<\/td>\n<\/tr>\n<tr class=\"row-10\">\n\t<td class=\"column-1\">08\/08\/2017<\/td><td class=\"column-2\">Bugs - fixed<\/td><td class=\"column-3\">Affects: <br \/>\n1. IR scattering simulations (<i>ir_addclouds<\/i> true)<br \/>\n2. All MW simulations<br \/>\n<br \/>\nIssues: <br \/>\n1 (a) The units for cloud liquid and ice water concentration are wrong for IR scattering simulations (values are converted to g\/m^3 for input to RTTOV, but RTTOV is configured to expect units of kg\/kg). Profiles are now passed to RTTOV in kg\/kg.<br \/>\n1 (b) When RadSim calls RTTOV multiple times (i.e. multiple batches) for IR scattering simulations the cloud liquid water data from previous profiles is left in the profiles structure due to a missing re-initialisation.<br \/>\n<br \/>\n2. The RTTOV surface salinity profile variable is set to 0%o. This has been updated to a fixed value of 35%o which is more representative for ocean water. This affects the sea surface emissivity calculated by RTTOV for MW simulations.<br \/>\n<br \/>\nThese bugs have been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_model_to_rttov.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim. NB This update includes the fix above dated 24\/08\/2017.<\/td>\n<\/tr>\n<tr class=\"row-11\">\n\t<td class=\"column-1\">08\/08\/2017<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: MW scattering simulations (<i>run_scatt<\/i> true)<br \/>\n<br \/>\nIssue: The RTTOV options which are applicable to RTTOV-SCATT are not set and so always take their default values in RTTOV-SCATT simulations. This includes the user configurable options <i>fastem_version<\/i> (6 by default) and <i>verbose<\/i> (true by default, the setting in RadSim depends on the <i>output_mode<\/i> variable), and the RadSim hard-coded option <i>apply_reg_limits<\/i> (false by default, set to true in RadSim).<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_setup_rttov.F90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim.<\/td>\n<\/tr>\n<tr class=\"row-12\">\n\t<td class=\"column-1\">08\/08\/2017<\/td><td class=\"column-2\">Bugs - fixed<\/td><td class=\"column-3\">Affects: <br \/>\n1. All scattering simulations using ECMWF GRIB data<br \/>\n2. All simulations using ECMWF GRIB data where profiles are interpolated to observation locations<br \/>\n<br \/>\nIssues: <br \/>\n1. Some cloud model fields (cloud fraction, rain and snow) are not ingested correctly causing scattering simulations to fail.<br \/>\n2. The sea-ice missing data values are not handled correctly in the profile interpolation causing some profiles to be given the incorrect surface type.<br \/>\n<br \/>\nThese bugs have been fixed: download the following source files to <i>src\/code\/main\/<\/i> and recompile RadSim:<br \/>\n<a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_read_grib.f90\">radsim_read_grib.f90<\/a><br \/>\n<a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_grib_paramid_name.f90\">radsim_grib_paramid_name.f90<\/a><br \/>\n<a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_interp.f90\">radsim_interp.f90<\/a><br \/>\nNB This update also enables the optional inclusion of ozone profile data (param ID 203) with ECMWF GRIB files for IR simulations.<\/td>\n<\/tr>\n<tr class=\"row-13\">\n\t<td class=\"column-1\">07\/08\/2017<\/td><td class=\"column-2\">Bug - fixed<\/td><td class=\"column-3\">Affects: NWP SAF 60L dataset<br \/>\n<br \/>\nIssue: The dataset contains some zero water vapour values which cause failures in RTTOV if they are not reset to a suitable minimum. The reduced 80 profile set contains \"missing data\" values for latitude, longitude, elevation, sea-ice and the land\/sea mask for the min\/max\/mean profiles (profiles 78-80) which should be reset to nominal values.<br \/>\n<br \/>\nThis bug has been fixed: download <a href=\"http:\/\/nwp-saf.eumetsat.int\/downloads\/radsim2_files\/radsim_read_ecprof60.f90\">this updated source file<\/a> to <i>src\/code\/main\/<\/i> and recompile RadSim. <br \/>\nNB This update also enables the optional inclusion of ozone profile data with this dataset.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-RadSim_v20_bug_list from cache -->\n<\/div><\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>RadSim Code Updates Updates and bug fixes to the Radiance Simulator for all versions since v2.0 are published here. Known bugs and issues Please report any bugs you find in RadSim using the NWP SAF Feedback Form. The official release packages do not contain the bug fixes or updates listed here so you should apply any fixes provided below. Bugs in earlier versions have been fixed in later versions unless otherwise stated. See also bugs in RTTOV that may affect simulations in RadSim.<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":102,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-45598","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/nwp-saf.eumetsat.int\/site\/wp-json\/wp\/v2\/pages\/45598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nwp-saf.eumetsat.int\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nwp-saf.eumetsat.int\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nwp-saf.eumetsat.int\/site\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/nwp-saf.eumetsat.int\/site\/wp-json\/wp\/v2\/comments?post=45598"}],"version-history":[{"count":2,"href":"https:\/\/nwp-saf.eumetsat.int\/site\/wp-json\/wp\/v2\/pages\/45598\/revisions"}],"predecessor-version":[{"id":51762,"href":"https:\/\/nwp-saf.eumetsat.int\/site\/wp-json\/wp\/v2\/pages\/45598\/revisions\/51762"}],"up":[{"embeddable":true,"href":"https:\/\/nwp-saf.eumetsat.int\/site\/wp-json\/wp\/v2\/pages\/102"}],"wp:attachment":[{"href":"https:\/\/nwp-saf.eumetsat.int\/site\/wp-json\/wp\/v2\/media?parent=45598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}