The -table option prints the values of discipline, master table and local table.
-set_table
$ wgrib2 f.grb -table 1:0:discipline=0 master_table=2 local_table=1