Open mdsumner opened 3 years ago
FWIW NCEP2 files are structured as one file per year for 6-hourly/daily data, and a single file for monthly
a lot of this has moved on, we can currently cover a lot of this with vapour_vrt, and others may be best covered by additions to GDAL.
see updated workflow here for an example of how vapour_vrt can help us: https://github.com/AustralianAntarcticDivision/raadtools/issues/126
to be even more flexible, we need the "vrt://
the vapour_vrt way is now quite stable, I'm experimenting with
a lot of this has been stalled because vapour dramas on CRAN, but now looking stable (notably the UBSAN checks and stricter compiler warnings Wconversion from ARM are now cleaned up)
NOTES
fullname
as now, but also vrt string,/vsi
forms, and in futurevrt://
forms - and when/if are these templated on other column values, or do we just stamp it out as the current data ... (I think so, no templates)These are the different kinds of things (still need update from notes above, see new VRTDataset capability coming to vapour)
AMPS, CFA, CMIP,
see this tweet, I don't yet know how to nominate the X/Y arrays for the warper, but it's totally doable (probably by sending options into a VRTDataset
i.e. https://github.com/OSGeo/gdal/commit/8adcb58393b224e100bebad3a92cb135eb893db2
this tweet does the barycentric interpolation from the longlat arrays (for truly curvilinear data like CMIP, some ROMS) https://twitter.com/mdsumner/status/1469151164952285188?s=20&t=ft6taP_h8fhB0QUc9Q2cEw - I don
AMPS is really an "assign the grid" problem, more basic VRT
FAST ICE
LEADS
these files are stereographic - flipped, so we need a vrt wrap that first flips by warping, and then warps from that, can the files columns encode that stuff (with ymax < ymin)
... this works note the wonky a_ullr (y-up)
NCEP2 winds
These need expanding, currently we only get the first date of the year so raadtools must be expanding the list
NSIDC ice binary files
a VRT string, see https://github.com/mdsumner/NSIDC-seaice/blob/master/nt_20130114_f17_v01_s.vrt
ALTIMETRY
these are easy, but we need two sets of extents sometimes 180 sometimes 360 see NOTES above
ARGO files
probably forget forever and follow Dewey
BSOSE files
complicated like AMPS but maybe not too bad, I think we need raster GCPs for this one
CAFE
easy, lon180 same as oisst_daily
FSLE
easy, lon180
SST
GEOID
these are fine, ADF files (will benefit from multiple sources - tiles - to the warper)
AMSR
these are HDF or TIF
NCEP2
(not done, just notes)