Which branch of science? Because there's quite a lot of science. I'll tell you about the bits I've come across.
In programming, I assign variables. That's a choice, not a law of nature.
When running instruments, I assign samples to wells. That's again a choice, albeit someone else's because I didn't write the protocol.
When examining what's come out of the piston corer this week, we observe and record soil and rock types We don't assign them.
My colleagues staring down microscopes don't assign diatoms to species, they observe their characteristics to identify them.
The flooding researchers don't assign a flow rate or peak water level, they measure it.
The earthquake people measure on ths Richter scale, they don't assign that.
The meteorologists measure air pressure, rainfall, temperature, wind direction, etc. They don't assign cloud cover, they observe it.
I've encountered observe, measure, categorise and identify based on observations and measurements, but never assign, unless choosing a name for a newly-discovered species or element.