Grilled Cheese

ExploreLog inSign up

mdsumner

@mdsumner.bsky.social

535 Following616 Followers

maxing the pixels to glow

R, Python, GDAL, virtual Zarr, coordinate systems, southern ocean research

I sit and reflect about all that I've learned and all that I've seen

Triangle wins

hypertidy.org

PostsRepliesMedia
@mdsumner.bsky.socialDec 5, 2026, 10:36 PM

the hard part here is how f confusing S3 storage is, but it's embarassing now how easy that really is and how many tools can do it / interact with it

@mdsumner.bsky.socialDec 5, 2026, 10:34 PM

here's the plan if/when I get back to it

 Here's a rough sketch. The striking part is that the whole dataset isn't much bigger a job than the one we're running now.

  1. Download it, globally. The full CEMS fire reanalysis has 14 variables, daily, from 3 January 1940 to 14 November 2026. That's 444,192
  fields, so at least 120 requests at the cap. Since the cost is counted in global fields, asking for the whole globe costs the same as asking
  for our box. That's about seven times our current 17 requests, and the result would be everything: all variables, the whole globe, from 1940.
  One after another, at today's queue times, that's about 5 to 15 days, less if EWDS lets several requests wait at once. Google's ARCO-ERA5
  uses its own tool (weather-dl) for exactly this: splitting a huge request into allowed pieces and fetching them in parallel.

  2. Convert once, from GRIB to Zarr, using xarray with cfgrib (the same library EWDS used on our file) or GDAL. The real design decision is
  the chunk layout. Like ECMWF and Copernicus Marine, you'd probably keep two copies:
  - one chunked for maps: one day, large spatial tiles;
  - one chunked for time series: all days, small spatial tiles.

  3. Write it as Icechunk, with one commit per batch. A stopped job resumes cleanly, and nobody reads a half-written state, which is the lesson
  from our double-submitted Gadi job.

  4. Host it on public-read object storage: Acacia, as in our prototype, or AWS Open Data, which hosts public datasets free. The CC BY 4.0
  licence allows that with attribution. Size, my estimate: 461 billion values at 0.25°, 1.8 TB as uncompressed floats. The indices exist only
  over land, so compressed it's probably a few hundred GB.

  5. Keep it current. This is what turns a project into a service. EWDS publishes a daily "intermediate" version that is later replaced by the
  consolidated one, so you'd need a daily job appending to the store (EWDS's updates have been frozen since 16 November). Earthmover says its
  free ERA5 store is pai…
@mdsumner.bsky.socialDec 5, 2026, 10:32 PM

and so in the time this 42Mb job has taken we could queue up an entire-download of the full backlog, cloudify it, and set up a running task to keep it up to date, with virtual indexes and varied interfaces that work across multiple python and R packages, webapps, GIS, and cli these are wild times

@mdsumner.bsky.socialDec 5, 2026, 10:24 PM

I do love that we can generate these summaries:

 Yes, it comes from GRIB. Our downloaded file records it in its history attribute: the service retrieved data.grib (GRIB edition 2, ECMWF) and
  converted it with cfgrib/ecCodes at 07:15 UTC. The per-variable metadata is GRIB's too, for example parameter 260560, "Fire danger index (as
  defined by the Australian forest service)". The form offers GRIB or NetCDF, and some options are GRIB only.

  And no, we can't reach those GRIB files ourselves. They sit in MARS, which needs an ECMWF account through a member state or a licence. The
  public route is only through the data store's request queue, so there's no public URL and no byte positions to point at. That's the
  difference from BARRA, where BoM's NetCDF files are public objects on S3, so our Icechunk store can just reference their chunks.

  For a dataset like this, the only way to make it cloud-native is to copy it. That's what Google and Earthmover did for ERA5.
@mdsumner.bsky.socialDec 5, 2026, 10:21 PM

everything's terrifying but it will never not be funny that the gun nuts of USA didn't save us from the rise of fascism in their own nation

www.catb.org/~esr/guns/

@vickiap.bsky.socialDec 4, 2026, 10:40 PMReposted by @mdsumner.bsky.social

From Dr Tracey Westerman AM on FB

Photo, no description
@mdsumner.bsky.socialDec 5, 2026, 9:58 PM

why does it take 24 hours to download 42Mb from ecwmf? oh, because - you have to wait for *their compute queue* to convert from whatever legacy format it's in to another legacy format 😜 omg it's 2002

@brionykidd.bsky.socialDec 5, 2026, 9:08 PMReposted by @mdsumner.bsky.social

‘This is how fascism begins. Nobody storms parliament. Parliament votes for it, both major parties together, and calls it safety.‘
#auspol #politas

MMichael West@michaelwestbiz.bsky.socialDec 5, 2026, 7:23 AM

How fascism begins. Bondi tragedy harnessed to attack free speech Andrew Brown reports. Read it here: https://michaelwest.com.au/how-fascism-begins-bondi-tragedy-harnessed-to-attack-free-speech/

Michael West Media story graphic
@mdsumner.bsky.socialDec 5, 2026, 9:25 AM

It's not usual

@mdsumner.bsky.socialDec 5, 2026, 9:23 AM

Gawd, who would visit the centre of the deepest pending downfall of so many foul people

DSenator David Shoebridge@davidshoebridge.bsky.socialDec 5, 2026, 5:24 AM

Such good buddies. I’m sure the PM will feel very at home. He will certainly be a long way from Australia and what is important to Australians. Starting with fairness, honesty, care for each other and the planet we all share.

Photo, no description
@tassiedevil.bsky.socialDec 5, 2026, 6:44 AMReposted by @mdsumner.bsky.social

He's actually going to go? I feel sick. All sorts of sick, depraved stuff went on there. It's a cesspit and our PM is going to get even more chummy with Trump there. Yuck. #auspol

theguardian.comAnthony Albanese to visit Mar-a-Lago for first time as Donald Trump relocates G20 dinnerUS president says he invited as many as 15 world leaders from ‘very important countries’
@random-sarah.bsky.socialDec 3, 2026, 8:19 PMReposted by @mdsumner.bsky.social

What was the first intifada? After 20 years of Israeli military occupation following the 1967 Six-Day War, Palestinian were angry over land confiscations, expanding Israeli settlements, economic hardship, and political repression. On December 8, 1987, an Israeli military truck crashed

@random-sarah.bsky.socialDec 3, 2026, 8:19 PMReposted by @mdsumner.bsky.social

Hamas was created in December 1987 in Gaza, to pursue an Islamist and Palestinian nationalist resistance against Israel. Hamas formed shortly after the outbreak of the First Intifada—a major Palestinian uprising against Israeli occupation in Gaza, the West Bank, and East Jerusalem.

@random-sarah.bsky.socialDec 3, 2026, 8:19 PMReposted by @mdsumner.bsky.social

Genocide cheerleaders - ‘but Hamas’. Ok, let’s talk about Hamas. Why did Hamas come into existence? Oh look, because of the actions of Israel. You know, the murder, land theft and occupation of Palestinians.

@amyremeikis.bsky.socialDec 4, 2026, 2:14 AMReposted by @mdsumner.bsky.social

Defence is feeling a bit defensive - www.defence.gov.au/news-events/...

And all of this is nice and everything, but also - the bill they passed allows Defence and the minister to do all of this. It's the law. Perhaps Defence should also look up 'absolute liability' which is in this bill too.

@tassiedevil.bsky.socialDec 4, 2026, 10:17 PMReposted by @mdsumner.bsky.social

Exactly. Labor did oppose the stadium initially. My "No Stadium" sticker was authorised and printed by the Tas Labor Party. Then, under Dean Winter, they bottled it and changed sides. Pathetic, weak, scared, useless. #politas

abc.net.auLabor opposition worse than Tasmanian Liberal government, party elder saysFormer Tasmanian Labor deputy premier Peter Patmore is the latest party elder to criticise the island state's Labor opposition, saying it's worse than the Liberal government.
@mdsumner.bsky.socialDec 4, 2026, 10:42 PM

I think the libs protection racket bullies them? Why else would an opposition in minority govt just fold on every thing?

@mdsumner.bsky.socialDec 4, 2026, 10:41 PM

What would #rstats gain from array semantics in ALTREP?

mdsumner.github.io/r-variants/

TLDR: R could significantly increase its array memory capabilities in this ZARR era 😀 (and it would help probably every array project in R for GDAL, hdf5, netcdf, imagery, and anything out of memory)

@mdsumner.bsky.socialDec 4, 2026, 10:15 PM

Starving to death now a first world problem

AAaron Rupar@atrupar.comDec 4, 2026, 9:33 PM

Brooke Rollins: "I realize there are people struggling in this country, but no one is starving to death. We have to put this in context."

@atrupar.comDec 4, 2026, 9:33 PMReposted by @mdsumner.bsky.social

Brooke Rollins: "I realize there are people struggling in this country, but no one is starving to death. We have to put this in context."

1866
Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST