Not only re-entry mass, but center of gravity (CG) locations, touchdown weight, etc.
Mass properties were calculated on the ground and uplinked. The responsible flight control position was FDO "Fido" the Flight Dynamics Officer.
They had ground software to assist in the task. The FDO Console Handbook Volume IV Chapter 4.3 Maneuver Generation spends pages and pages on the process. Here's a short quote
The purpose of the mass properties task for deorbit prep and entry phase
operations is to compute predicted orbiter mass properties at the following points;
before and after the deorbit burn, EI, TAEM, and landing. These include weight,
CG’s, and engine trims. The predicted weights and CG’s at EI and Mach 3.5
(M3) are also of interest to the Guidance, Navigation, and Control (GNC) Flight
Controller for glideslope, elevon schedule, and body bending filter selection
requirements during entry.
Here's a high level view of the calculation process from Volume III of the console handbook:
Procedures entail configuring
PMP displays to represent groups of payload masses, together with Orbiter
consumables, using either telemetry data (for current values) or predicted data. These
groups can be summarized as cargo, cryogenics, and non-propulsive consumables. Once
mass property information for individual groups is determined, each is added together and
combined with data for the inert Orbiter and propulsive consumables to determine the
entire Orbiter mass properties.
Much of the inputs came from other flight controller positions as stated back in Volume IV:
...the flight controller
positions of Environmental and Consumables Management (EECOM), Electrical
Generation and Integrated Loading (EGIL), and MMACS. These positions are
responsible for providing much of the predicted consumables information
required for EOM mass properties predictions.
Here's a quote from further along in Volume IV just to confirm that they got uplinked:
If the expected post deorbit burn weight is very close to the weight switchpoint
(within 200 lb), it may be desirable to bias the weight that is uplinked with the
PEG 4 targets, which would allow some margin between the burnout weight and
the switchpoint weight.
Since it would be nice to have a linkable reference, I'll point to my friend and former FDO Roger Balettie's website. He mentions this process in passing where he talks about his last shift as a FDO:
TOTAL WT: 224971
This was noting that we had done a routine update of the current Orbiter weight (in pounds), based on various things – including fuel expended so far, cargo/payloads transferred, consumables used, etc.
It was important to know the vehicle weight for not only on-orbit state vector propagation, but also in the event of an unplanned or emergency deorbit situation to know if we needed to burn off extra fuel to get down below a certain maximum down-weight level.
The weight was visible to the crew on the Deorbit Maneuver computer display and could be changed by them there.
It was also read up to the crew during Deorbit Preparation to be entered on the Burn Pads.
References:
Acronymology:
- EI - Entry Interface, 400,000 feet altitude
- EOM - End of Mission
- MMACS - Mechanical, Maintenance, Arm and Crew Systems flight control position
- PEG - Powered Explicit Guidance
- PMP - Paperless Mass Properties calculation software
- TAEM - Terminal Area Energy Management, ~ 85,000 feet altitude