modificaitons for trigger and lava netcdf handling