Skip to content

Instantly share code, notes, and snippets.

@mdsumner
Created May 17, 2024 19:22
Show Gist options
  • Save mdsumner/36d71252f6d842d7ef40f71160139f7c to your computer and use it in GitHub Desktop.
Save mdsumner/36d71252f6d842d7ef40f71160139f7c to your computer and use it in GitHub Desktop.
dsn <- "/vsizip//vsicurl/https://dapds00.nci.org.au/thredds/fileServer/fj7/Copernicus/Sentinel-2/MSI/L1C/2024/2024-05/50S070E-55S075E/S2A_MSIL1C_20240509T044331_N0510_R047_T43FDB_20240509T064234.zip/S2A_MSIL1C_20240509T044331_N0510_R047_T43FDB_20240509T064234.SAFE/GRANULE/L1C_T43FDB_A046376_20240509T044331/IMG_DATA/T43FDB_20240509T044331_TCI.jp2"
system(sprintf("gdalinfo %s", dsn))
Driver: JP2OpenJPEG/JPEG-2000 driver based on OpenJPEG library
Files: /vsizip//vsicurl/https://dapds00.nci.org.au/thredds/fileServer/fj7/Copernicus/Sentinel-2/MSI/L1C/2024/2024-05/50S070E-55S075E/S2A_MSIL1C_20240509T044331_N0510_R047_T43FDB_20240509T064234.zip/S2A_MSIL1C_20240509T044331_N0510_R047_T43FDB_20240509T064234.SAFE/GRANULE/L1C_T43FDB_A046376_20240509T044331/IMG_DATA/T43FDB_20240509T044331_TCI.jp2
Size is 10980, 10980
Coordinate System is:
PROJCRS["WGS 84 / UTM zone 43S",
    BASEGEOGCRS["WGS 84",
        ENSEMBLE["World Geodetic System 1984 ensemble",
            MEMBER["World Geodetic System 1984 (Transit)"],
            MEMBER["World Geodetic System 1984 (G730)"],
            MEMBER["World Geodetic System 1984 (G873)"],
            MEMBER["World Geodetic System 1984 (G1150)"],
            MEMBER["World Geodetic System 1984 (G1674)"],
            MEMBER["World Geodetic System 1984 (G1762)"],
            MEMBER["World Geodetic System 1984 (G2139)"],
            ELLIPSOID["WGS 84",6378137,298.257223563,
                LENGTHUNIT["metre",1]],
            ENSEMBLEACCURACY[2.0]],
        PRIMEM["Greenwich",0,
            ANGLEUNIT["degree",0.0174532925199433]],
        ID["EPSG",4326]],
    CONVERSION["UTM zone 43S",
        METHOD["Transverse Mercator",
            ID["EPSG",9807]],
        PARAMETER["Latitude of natural origin",0,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8801]],
        PARAMETER["Longitude of natural origin",75,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8802]],
        PARAMETER["Scale factor at natural origin",0.9996,
            SCALEUNIT["unity",1],
            ID["EPSG",8805]],
        PARAMETER["False easting",500000,
            LENGTHUNIT["metre",1],
            ID["EPSG",8806]],
        PARAMETER["False northing",10000000,
            LENGTHUNIT["metre",1],
            ID["EPSG",8807]]],
    CS[Cartesian,2],
        AXIS["(E)",east,
            ORDER[1],
            LENGTHUNIT["metre",1]],
        AXIS["(N)",north,
            ORDER[2],
            LENGTHUNIT["metre",1]],
    USAGE[
        SCOPE["Engineering survey, topographic mapping."],
        AREA["Between 72°E and 78°E, southern hemisphere between 80°S and equator, onshore and offshore."],
        BBOX[-80,72,0,78]],
    ID["EPSG",32743]]
Data axis to CRS axis mapping: 1,2
Origin = (399960.000000000000000,4200040.000000000000000)
Pixel Size = (10.000000000000000,-10.000000000000000)
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (  399960.000, 4200040.000) ( 73d31'53.57"E, 52d20'26.91"S)
Lower Left  (  399960.000, 4090240.000) ( 73d29'52.37"E, 53d19'39.16"S)
Upper Right (  509760.000, 4200040.000) ( 75d 8'35.84"E, 52d20'59.45"S)
Lower Right (  509760.000, 4090240.000) ( 75d 8'47.67"E, 53d20'12.87"S)
Center      (  454860.000, 4145140.000) ( 74d19'47.36"E, 52d50'29.74"S)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
  Overviews: 5490x5490, 2745x2745, 1373x1373, 687x687
  Overviews: arbitrary
  Image Structure Metadata:
    COMPRESSION=JPEG2000
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
  Overviews: 5490x5490, 2745x2745, 1373x1373, 687x687
  Overviews: arbitrary
  Image Structure Metadata:
    COMPRESSION=JPEG2000
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
  Overviews: 5490x5490, 2745x2745, 1373x1373, 687x687
  Overviews: arbitrary
  Image Structure Metadata:
    COMPRESSION=JPEG2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment