make ecl_grid_get_lgr_from_lgr_nr non static and test it here