put some restrictions on inputs for environmental data query