@@ -73,6 +73,7 @@ def main():
7373 it_cl_type = config .get ('it_cl_type' )
7474 iera_type = config .get ('iera_type' )
7575 iemiss_type = config .get ('iemiss_type' )
76+ ilookup_table_lu = config .get ('ilookup_table_lu' )
7677 enable_cdnc = config .get ('enable_cdnc' , False )
7778 enable_edgar = config .get ('enable_edgar' , False )
7879 enable_art = config .get ('enable_art' , False )
@@ -88,10 +89,10 @@ def main():
8889 generate_external_parameters (
8990 igrid_type , args .input_grid , iaot_type , ilu_type , ialb_type ,
9091 isoil_type , itopo_type , it_cl_type , iera_type , iemiss_type ,
91- enable_cdnc , enable_edgar , enable_art , use_array_cache , nhori ,
92- radtopo_radius , args . raw_data_path , args . run_dir , args .account ,
93- args .host , args .no_batch_job , lurban , lsgsl , lfilter_oro , l_use_corine ,
94- lradtopo )
92+ ilookup_table_lu , enable_cdnc , enable_edgar , enable_art ,
93+ use_array_cache , nhori , radtopo_radius , args .raw_data_path ,
94+ args .run_dir , args .account , args . host , args . no_batch_job , lurban ,
95+ lsgsl , lfilter_oro , l_use_corine , lradtopo )
9596
9697
9798def generate_external_parameters (igrid_type ,
@@ -104,6 +105,7 @@ def generate_external_parameters(igrid_type,
104105 it_cl_type ,
105106 iera_type ,
106107 iemiss_type ,
108+ ilookup_table_lu ,
107109 enable_cdnc ,
108110 enable_edgar ,
109111 enable_art ,
@@ -140,6 +142,7 @@ def generate_external_parameters(igrid_type,
140142 'it_cl_type' : it_cl_type ,
141143 'iera_type' : iera_type ,
142144 'iemiss_type' : iemiss_type ,
145+ 'ilookup_table_lu' : ilookup_table_lu ,
143146 'enable_cdnc' : enable_cdnc ,
144147 'enable_edgar' : enable_edgar ,
145148 'enable_art' : enable_art ,
@@ -493,7 +496,7 @@ def generate_globe_filenames():
493496def setup_lu_namelist (args ):
494497 namelist = {}
495498 namelist ['i_landuse_data' ] = args ['ilu_type' ]
496- namelist ['ilookup_table_lu' ] = args ['ilu_type ' ]
499+ namelist ['ilookup_table_lu' ] = args ['ilookup_table_lu ' ]
497500 namelist ['raw_data_lu_path' ] = args ['raw_data_path' ]
498501 namelist ['raw_data_glcc_path' ] = args ['raw_data_path' ]
499502 namelist ['lu_buffer_file' ] = 'lu_buffer.nc'
0 commit comments