<div dir="ltr"><div><div><div><div>Hi<br><br></div>Is there any methods to read a namelist file directly? Similar to FORTRAN. Here is an example of namelist file from WRF<br><br>&time_control<br> run_days                            = 5,<br> run_hours                           = 0,<br> run_minutes                         = 0,<br> run_seconds                         = 0,<br> start_year                          = 2015, 2001, 2001,<br> start_month                         = 06,   06,   06,<br> start_day                           = 19,   11,   11,<br> start_hour                          = 00,   12,   12,<br> start_minute                        = 00,   00,   00,<br> start_second                        = 00,   00,   00,<br> end_year                            = 2015, 2001, 2001,<br> end_month                           = 06,   06,   06,<br> end_day                             = 24,   12,   12,<br> end_hour                            = 00,   12,   12,<br> end_minute                          = 00,   00,   00,<br> end_second                          = 00,   00,   00,<br> interval_seconds                    = 600<br> input_from_file                     = .true.,.true.,.true.,<br> history_interval                    = 10,   60,   60,<br> frames_per_outfile                  = 1,    1,    1,<br> restart                             = .false.,<br> restart_interval                    = 5000,<br> io_form_history                     = 2<br> io_form_restart                     = 2<br> io_form_input                       = 2<br> io_form_boundary                    = 2<br> auxinput1_inname                    = "../../../WPS/wpsout_cus_4km/met_em.d<domain>.<date>"<br> history_outname                     = "wrfout/wrfout_d<domain>_<date>"<br> debug_level                         = 0<br><br></div>I want to read this file with variable names and values from NCL. Thank you<br><br></div>Best,<br></div>Zhifeng<br><br></div>