Lesson 1 of 3 · Budget the image stream
Budget the image stream
20 minute lesson · 3 checks along the way
Your goal for this lessonCount samples and stored bytes, distinguish packed and padded words, and bound a compressed file before promising a delivery.
In this lesson 6 sections · 3 checks
Using archive links & definitions
Follow a linked name to explore its archive card. “Back to your lesson” brings you to the same part of the reading.
Read & understand
A land-assessment requirement becomes an instrument and data system
MULA brings a land-assessment purpose to a satellite engineering partnership. PhilSA's June 2021 account places the Advanced Satellite Project within STAMINA4Space, with UP Diliman, DOST-ASTI, PhilSA and Surrey Satellite Technology Ltd involved. Consultation with prospective users helped define the need. A requirement to observe land must eventually become choices about instruments, onboard processing, storage and delivery to people who can interpret the measurements.
SSTL's December 2023 manufacturing announcement describes Philippine engineers working in the United Kingdom and a technology licence supporting the collaboration. It gives intended TrueColour instrument figures of 5 m ground sampling, a 120 km swath and nine bands. These describe different properties: sample spacing, strip width and spectral channels. Nine bands alone do not establish that another instrument measures identical wavelength ranges. The figures below explore a smaller fictional image; they do not disclose MULA's actual encoding, compression or file limits.
Read & understand
Count both image dimensions and every band
Imagine a rectangular 12 km by 20 km scene, sampled on a flat 5 m grid in every one of nine bands. Convert kilometres to metres before counting: 12,000 / 5 = 2,400 columns and 20,000 / 5 = 4,000 rows. Their product is 9,600,000 spatial pixels. Each location contributes nine band samples, giving 86,400,000 samples. Counting only columns, or treating nine bands as one number, would understate the data.
For this exercise every dimension divides exactly by the spacing. A real product would need a rule for partial edge pixels, projections, masked areas and bands on different grids. Keeping the same extent and bands while changing spacing from 5 m to 2.5 m doubles both counts, so it quadruples the sample total. That arithmetic describes a denser array. Resampling an existing image onto that array would not by itself reveal smaller ground details that the original instrument never resolved.
Read & understand
Packed samples and storage words differ
Suppose each fictional sample uses 12 bits. Packing those bits continuously gives 86,400,000 × 12 / 8 = 129,600,000 bytes. This course uses decimal megabytes: 1 MB is 1,000,000 bytes, so the payload is 129.6 MB. Bits and bytes are different units; a value written in bits must be divided by eight before comparison with a byte-based storage limit.
A processor might instead place each sample in a 16-bit storage word. With the sample count unchanged, the payload becomes 172.8 MB. The extra four bits per word are padding in this example, not extra measurement information. Packing saves 43.2 MB, which is 43.2 / 172.8 = 25% of the word-stored total. Reversing the comparison gives a different percentage: the padded total is one third larger than the packed total. Always name the denominator when reporting a saving.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Compression is a model input with a bound
Now assume an exact 3:1 compression ratio for the packed payload, meaning uncompressed bytes divided by compressed bytes equals three. Compress the 129.6 MB payload first, then add 0.8 MB of uncompressed metadata. The complete file is 129.6 / 3 + 0.8 = 44 MB. It fits a fictional 50 MB file limit. Dividing the metadata by three would violate the stated processing order; using the 16-bit total would answer a different representation question.
The result is conditional on the ratio. If a scene achieves only 2.5:1, the same calculation becomes 51.84 + 0.8 = 52.64 MB, above the limit. A typical compression result is therefore insufficient to guarantee that every scene fits. To accept the file under these assumptions, the ratio must be at least 129.6 / 49.2, approximately 2.63415:1. Neither that bound nor the example ratios establish an actual MULA setting, or whether a compression method preserves the information a particular analysis needs.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Account for row boundaries and metadata
Packing rules can also add small amounts of padding. Consider a deliberately tiny image with five rows, seven pixels per row, three bands and ten bits per sample. Each row contains 7 × 3 × 10 = 210 useful bits. If every row begins on a byte boundary, each needs the next whole byte count: 27 bytes. Five separately aligned rows require 135 bytes, including six padding bits at the end of each row.
Packing all rows as one uninterrupted bitstream would instead require the ceiling of 1,050 / 8, or 132 bytes. These are two different formats for the same useful samples. The smaller number is not a valid substitute when the format specifies row alignment. Additional headers, timestamps and quality flags also need explicit accounting. In the large example the 0.8 MB metadata term is already declared; do not invent more overhead or silently count it twice.
From samples to a complete file
Original teaching model, not MULA encoding or limits. Bars share a byte scale before compression. Compression applies only to the payload; the separate five-row example shows why rounding at each row differs from rounding once for the whole image.
Open full-size diagram in a new tab: From samples to a complete fileCheck 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Keep information quality separate from file size
The same method transfers to another fictional product. An 8 km by 15 km scene on a 10 m grid has 800 × 1,500 locations. Six ten-bit bands give 7.2 million samples and a 9 MB packed payload. Sixteen-bit words would need 14.4 MB, so packing saves 37.5% of that larger total. Exact 2:1 compression followed by 0.5 MB of metadata gives a 5 MB file. Equality fits an inclusive 5 MB limit; a weaker 1.5:1 ratio produces 6.5 MB and does not.
PhilSA's 2024 report records design and integration reviews as the project moved toward building and testing the spacecraft. A defensible data budget similarly connects a requirement to an explicitly described implementation. Carry forward the scene dimensions, band grids, representation, compression assumption and overhead rule together. File size helps establish transport feasibility. Whether the image is useful for land assessment still depends on calibration, illumination, clouds and the measurement properties required by its users.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.
- Read: PhilSA: Next generation of PH satellites under wayASP/STAMINA4Space origin; UP Diliman, DOST-ASTI, PhilSA and SSTL roles; stakeholder assessment; announced multispectral land-assessment purpose. Original 2023 launch forecast is superseded. The 100,000-square-kilometre daily figure is a design ambition, not measured clear-sky delivery. Promotional renders and SSTL training photos are not adopted as reusable hardware photographs.
- Read: SSTL: PhilSA engineers begin the MULA manufacturing phaseHands-on manufacturing collaboration and technology licence; intended TrueColour sampling of 5 m across a 120 km swath with nine bands; separate AIS and ADS-B payloads. 2025 launch forecast is superseded. Avoid repeating the imprecise phrase nine visible spectral bands or claiming identical spectral response to Sentinel-2. No bit depth, packing rule, compression guarantee, data rate or recorder size is established.
- Read: PhilSA Annual Report 2024: MULA design, integration and payload workMay 2024 CDR and September 2024 IRR distinguish manufacturing approval from integration readiness. Review includes configuration, deviations and verification. Simultaneous capture/download appears as a planned feature. Flatsat, detector, communications and data-handling test captions connect the team to engineering work. 139,000 square kilometres daily is a design figure, not observed cloud-free coverage. The 150 kg reference differs from earlier 130 kg statements: omit mass rather than reconcile it without evidence. Gallery images and source diagrams are research-only, not copied into lessons.