[ToDo]
- Multiple missing indices

- Shapefile input
#===============================================================
# v02.04.03
#===============================================================
#---------------------------------------------------------------
[2025/11/15] Bug fix
#---------------------------------------------------------------
src/main/ext/cpl_aogcm-ils_make_rt_for_ogcm/mod_main.f90
  subroutine read_grid_data

Added initialization of $idxarg.
#---------------------------------------------------------------
[2025/11/15] Bug fix
#---------------------------------------------------------------
src/main/ext/cpl_aogcm-ils_define_mat/mod_set.f90

Added initialization of $opt_rt_coef to outside the subroutine
read_settings_rt_coef_options for the case that this subroutine 
is not called and $opt_rt_coef is not initialized.
#---------------------------------------------------------------
[2025/11/15] Bug fix
#---------------------------------------------------------------
src/run/common/const.py

Added constants of data type.
#===============================================================
# v02.04.02
#===============================================================
#---------------------------------------------------------------
[2025/11/07] Minor update
#---------------------------------------------------------------
Changed keys for remapping:
vrf_source_form, vrf_target_form -> mesh_vrf

#---------------------------------------------------------------
[2025/11/07] Minor update
#---------------------------------------------------------------
Changed structure of directories of the source code
Updated main/std/remap/mkfig.py

#---------------------------------------------------------------
[2025/11/07] Bug fix
#---------------------------------------------------------------
src/main/std/remap/mod_set.f90

Fixed the way of setting the size of output grid data of raster 
mesh, a%fg_out%sz.
#===============================================================
# v02.03.03
#===============================================================
#---------------------------------------------------------------
[2025/09/09]
#---------------------------------------------------------------
src/cmn1/cmn1_gs_grid_coef.f90 subroutine make_grdara__raster

Added make_grdara__raster() for the case that grid weight data were given.
#---------------------------------------------------------------
[2025/09/09]
#---------------------------------------------------------------
src/run
run/

Modified the structure.
Copy run_all.py into the working directory when running the script.
#---------------------------------------------------------------
[2025/08/09]
#---------------------------------------------------------------
src/cmn2/cmn2_rt_vrf_core.f90 subroutine calc_rerr_grdara

Added branches for the case that `grdara_true` is zero
due to relation between indices of raster data and grid data.
#===============================================================
# v02.02.01
#===============================================================
#---------------------------------------------------------------
[2025/07/22]
#---------------------------------------------------------------
src/main_ext/make_cmf_mat/mod_set.f90, mod_main.f90
run/ILS_bnd/conf.json, s00_util.py

Removed a key "opt_invalid_grdidx_catmxy" and added "grdidx_condition"
for the block "cama-flood".
Added checking functions for the correspondance of grid and raster
for non-tiled data.
Related script and JSON file were also updated.
#---------------------------------------------------------------
[2025/07/21]
#---------------------------------------------------------------
Made a directory `src/run` to manage scripts that was originally
under `run`.
And now all the scripts are executed with `python run_all.py`.

run/ILS_bnd/sample/script        => src/run/ILS_bnd
run/rt_ILS_default/sample/script => src/run/rt_ILS_default
run/cpl_ILS-AOGCM/sample/script  => src/run/cpl_ILS-AOGCM

run/rt_ILS_default/sample/run_all.py
run/rt_ILS_default/sample/conf.json
run/rt_ILS_default/sample/script --> src/run/rt_ILS_default
#---------------------------------------------------------------
[2025/07/21]
#---------------------------------------------------------------
src/main_ext/cpl_aogcm-ils_define_mat/mod_set.f90 read_settings_input_rt

Fixed a bug that the subroutine `read_value` was called for
variables type file_ as if they are paths.
#---------------------------------------------------------------
[2025/7/20]
#---------------------------------------------------------------
src/cmn1, src/cmn3

Fixed a bug for rempping between RLL regional grid that has
a grid line on the zero-longit line and other RLL or raster grid.
#---------------------------------------------------------------
[2025/07/20]
run/ILS_bnd/sample/script/conf.json
(and related scripts)

Added a key `remapping > allow_empty`,
which allows the case that either of grids have no valid grid.
#---------------------------------------------------------------
[2025/07/18]
#---------------------------------------------------------------
src/lib/lib_log/lib_log_proc.f90

Fixed a bug of initialization.
#---------------------------------------------------------------
[2025/07/15]
#---------------------------------------------------------------
src/main_ext/cpl_aogcm-ils_define_mat/mod_set.f90

Set the default data types for some data.
#---------------------------------------------------------------
[2025/07/15]
#---------------------------------------------------------------
src/main_ext/cpl_aogcm-ils_define_mat/mod_define_mat.f90 make_rt_agcm_to_lsm

Modified as below because `grdidx` is generally not sorted.

(old)
call calc_rt_coef_sum_modify_not_enabled(rtm_a_l, grdidx, (/1_8/), grdara)

(new)
allocate(arg(size(grdidx)))
call argsort(grdidx, arg)
call calc_rt_coef_sum_modify_not_enabled(rtm_a_l, grdidx, arg, grdara)
deallocate(arg)
#---------------------------------------------------------------
[2025/07/15]
#---------------------------------------------------------------
src/cmn1/cmn1_gs_grid_util.f90 print_indices

Modified lbound and ubound of allocatable array `arr`
from (1,mh) to (hi,hf).
#---------------------------------------------------------------
[2025/07/15]
#---------------------------------------------------------------
src/cmn3/cmn3_rt_driv.f90

Added a branch for the case of an empty remapping table.
#---------------------------------------------------------------
[2025/05/13]
#---------------------------------------------------------------
src/cmn1/cmn1_type_gs.f90
src/cmn1/cmn1_gs_base.f90
src/cmn1/cmn1_gs_define_polygon.f90
src/cmn2/cmn2_area_raster_polygon.f90

Removed the component "n_prev" and "n_next" from type "gs_polygon_".
They require large memory when the number of vertices of one polygon
is very large and results in bad performance.
Replaced them with the functions "prev_cyclic" and "next_cyclic",
respectively.
#---------------------------------------------------------------
[2025/05/13]
#---------------------------------------------------------------
src/cmn3/cmn3_rst_run.f90
main_std/rasterize/mod_rasterize_*.f90

Added function to reverse 2d-maps corresponding to the directions 
of their vertical axis.
#---------------------------------------------------------------
[2025/05/13]
#---------------------------------------------------------------
src/cmn1/cmn1_type_gs.f90

Changed the components "id" and "name" from length-fixed character to 
length-changable character.
#---------------------------------------------------------------
[2025/05/13]
#---------------------------------------------------------------
src/main_std/rasterize/mod_set.f90
  read_settings_latlon, read_settings_polygon, read_settings_raster

Changed the intent of the argument from "out" to "inout",
otherwise it causes segmentation fault due to an unallocated
length-changable character.
#---------------------------------------------------------------
[2025/05/13]
#---------------------------------------------------------------
src/main_std/merge_remapping_tables/mod_grid.f90
read_all_data

Fixed a bug.
#---------------------------------------------------------------
[2025/04/24]
#---------------------------------------------------------------
src/common2/common_area_raster_polygon.f90 update_area_normal_convex_downward

In case that the arc is below the zone, $dh was used for an index of $dara_1rad.
Replaced $dh with $idv.
#---------------------------------------------------------------
[2025/04/13]
#---------------------------------------------------------------
src/common1/common_gs_define_polygon.f90 calc_range_of_latit

Added initialization of %lontop and %lattop.
It will not affect the action of the program with the normal mode
but will avoid an error in the debugging mode.
#---------------------------------------------------------------
[2025/04/11]
#---------------------------------------------------------------
src/lib/

Updated the library.
#---------------------------------------------------------------
[2025/04/09]
#---------------------------------------------------------------
src/main_std/remap/mod_rt.f90
src/main_std/remap/mod_rt_raster_raster.f90
src/common3/common_rt_raster_raster.f90

Introduced the function to remap from raster to raster.
Alleviated the definition of raster grid system, for which only the integer bbox was allowed (e.g. west=120, east=150, south=20, north=50). Now real number can be used for bbox (e.g. west=130, east=130.66666, south=35, north=35.33333).

Added the setting files for testing this type of remapping:
  set/remap/raster-1min_to_raster-1min.conf
  set/remap/CMF-jpn06min-1min_to_NLI-wsCode5-5340.conf
