{"id":42870570,"url":"https://github.com/umr-lops/xradarsat2","last_synced_at":"2026-01-30T12:58:54.212Z","repository":{"id":63573901,"uuid":"560879011","full_name":"umr-lops/xradarsat2","owner":"umr-lops","description":"python xarray reader for RadarSat-2 products","archived":false,"fork":false,"pushed_at":"2025-11-26T09:08:17.000Z","size":3309,"stargazers_count":4,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-29T01:33:17.382Z","etag":null,"topics":["python3","radarsat","reader","xarray","xml"],"latest_commit_sha":null,"homepage":"https://cerweb.ifremer.fr/datarmor/doc_lib_reader_RS2/html/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umr-lops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-02T13:23:43.000Z","updated_at":"2025-11-26T09:08:13.000Z","dependencies_parsed_at":"2024-06-18T13:08:00.182Z","dependency_job_id":"ad8e1fd7-cb43-4e27-9c61-2bd071d1abab","html_url":"https://github.com/umr-lops/xradarsat2","commit_stats":{"total_commits":71,"total_committers":3,"mean_commits":"23.666666666666668","dds":0.08450704225352113,"last_synced_commit":"65b5315fb0795180ef124c207e2021c2447d64b9"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/umr-lops/xradarsat2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umr-lops%2Fxradarsat2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umr-lops%2Fxradarsat2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umr-lops%2Fxradarsat2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umr-lops%2Fxradarsat2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umr-lops","download_url":"https://codeload.github.com/umr-lops/xradarsat2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umr-lops%2Fxradarsat2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28913205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python3","radarsat","reader","xarray","xml"],"created_at":"2026-01-30T12:58:54.103Z","updated_at":"2026-01-30T12:58:54.203Z","avatar_url":"https://github.com/umr-lops.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xsar\n\nradarSat2 Level 1 python reader for efficient xarray/dask based processor\n\n# Install\n\n```\nconda install -c conda-forge xradarsat2\n```\n\n```pycon\n\u003e\u003e\u003e import xradarsat2\n\u003e\u003e\u003e folder_path = \"/level1/root/directory\"\n\u003e\u003e\u003e xradarsat2.rs2_reader(folder_path)\nDataTree('None', parent=None)\n├── DataTree('orbitAndAttitude')\n│       Dimensions:    (timeStamp: 7)\n│       Coordinates:\n│         * timeStamp  (timeStamp) datetime64[ns] 2010-10-15T21:01:32.370461 ... 2010...\n│       Data variables:\n│           yaw        (timeStamp) float64 3.756 3.773 3.785 3.792 3.807 3.82 3.83\n│           roll       (timeStamp) float64 -29.8 -29.8 -29.8 -29.8 -29.8 -29.8 -29.8\n│           pitch      (timeStamp) float64 0.002605 0.002862 ... -0.001594 -0.001443\n│           xPosition  (timeStamp) float64 -5.072e+06 -5.076e+06 ... -5.087e+06\n│           yPosition  (timeStamp) float64 4.643e+06 4.676e+06 ... 4.799e+06 4.828e+06\n│           zPosition  (timeStamp) float64 2.033e+06 1.944e+06 ... 1.584e+06 1.494e+06\n│           xVelocity  (timeStamp) float64 -425.7 -352.1 -278.6 ... -131.8 -58.51 14.65\n│           yVelocity  (timeStamp) float64 2.642e+03 2.58e+03 ... 2.324e+03 2.259e+03\n│           zVelocity  (timeStamp) float64 -7.063e+03 -7.09e+03 ... -7.207e+03\n│       Attributes:\n│           attitudeDataSource:      Downlink\n│           attitudeOffsetsApplied:  true\n│           Description:             Attitude Information Data Store. Orbit Informati...\n├── DataTree('geolocationGrid')\n│       Dimensions:    (line: 11, pixel: 11)\n│       Coordinates:\n│         * line       (line) int64 0 1007 2015 3023 4031 5039 6046 7054 8062 9070 10078\n│         * pixel      (pixel) int64 0 1043 2086 3129 4172 ... 6258 7301 8344 9387 10431\n│       Data variables:\n│           latitude   (line, pixel) float64 17.97 17.89 17.8 ... 12.77 12.67 12.57\n│           longitude  (line, pixel) float64 130.4 130.9 131.4 ... 133.3 133.8 134.3\n│           height     (line, pixel) float64 0.0 0.0 0.0 0.0 0.0 ... 0.0 0.0 0.0 0.0 0.0\n│       Attributes: (12/13)\n│           productFormat:                               GeoTIFF\n│           outputMediaInterleaving:                     BSQ\n│           rasterAttributes_dataType:                   Magnitude Detected\n│           rasterAttributes_bitsPerSample_dataStream:   Magnitude\n│           rasterAttributes_bitsPerSample_value:        16\n│           rasterAttributes_numberOfSamplesPerLine:     10432\n│           ...                                          ...\n│           rasterAttributes_sampledPixelSpacing_units:  m\n│           rasterAttributes_sampledPixelSpacing_value:  50.0\n│           rasterAttributes_sampledLineSpacing_units:   m\n│           rasterAttributes_sampledLineSpacing_value:   50.0\n│           rasterAttributes_lineTimeOrdering:           Increasing\n│           rasterAttributes_pixelTimeOrdering:          Decreasing\n├── DataTree('imageGenerationParameters')\n│   ├── DataTree('doppler')\n│   │   ├── DataTree('dopplerCentroid')\n│   │   │       Dimensions:                          (timeOfDopplerCentroidEstimate: 5,\n│   │   │                                             n-Coefficients: 5)\n│   │   │       Coordinates:\n│   │   │         * timeOfDopplerCentroidEstimate    (timeOfDopplerCentroidEstimate) datetime64[ns] ...\n│   │   │         * n-Coefficients                   (n-Coefficients) int64 0 1 2 3 4\n│   │   │       Data variables:\n│   │   │           dopplerAmbiguity                 (timeOfDopplerCentroidEstimate) int64 0 ...\n│   │   │           dopplerAmbiguityConfidence       (timeOfDopplerCentroidEstimate) float64 ...\n│   │   │           dopplerCentroidReferenceTime     (timeOfDopplerCentroidEstimate) float64 ...\n│   │   │           dopplerCentroidPolynomialPeriod  (timeOfDopplerCentroidEstimate) float64 ...\n│   │   │           dopplerCentroidCoefficients      (timeOfDopplerCentroidEstimate, n-Coefficients) float64 ...\n│   │   │           dopplerCentroidConfidence        (timeOfDopplerCentroidEstimate) float64 ...\n│   │   │       Attributes:\n│   │   │           Description:  Doppler Centroid Data Store\n│   │   └── DataTree('dopplerRateValues')\n│   │           Dimensions:                   (dopplerRateReferenceTime: 1,\n│   │                                          n-RateValuesCoefficients: 3)\n│   │           Coordinates:\n│   │             * dopplerRateReferenceTime  (dopplerRateReferenceTime) float64 0.005568\n│   │             * n-RateValuesCoefficients  (n-RateValuesCoefficients) int64 0 1 2\n│   │           Data variables:\n│   │               dopplerRateValues         (dopplerRateReferenceTime, n-RateValuesCoefficients) float64 ...\n│   │           Attributes:\n│   │               Description:  Doppler Rate Values Data Store.\n│   └── DataTree('chirp')\n│           Dimensions:                  (pole: 1, n-amplitudeCoefficients: 4,\n│                                         n-phaseCoefficients: 4)\n│           Coordinates:\n│             * pole                     (pole) \u003cU2 'VV'\n│             * n-amplitudeCoefficients  (n-amplitudeCoefficients) int64 0 1 2 3\n│             * n-phaseCoefficients      (n-phaseCoefficients) int64 0 1 2 3\n│           Data variables:\n│               replicaQualityValid      (pole) \u003cU4 'true'\n│               crossCorrelationWidth    (pole) float64 1.033\n│               sideLobeLevel            (pole) float64 -13.28\n│               integratedSideLobeRatio  (pole) float64 -9.988\n│               crossCorrelationPeakLoc  (pole) float64 38.2\n│               chirpPower               (pole) float64 63.78\n│               amplitudeCoefficients    (pole, n-amplitudeCoefficients) float64 1.0 ... ...\n│               phaseCoefficients        (pole, n-phaseCoefficients) float64 0.3395 ... -...\n│           Attributes:\n│               VV_wing:      Combined\n│               VV_pulse:     11.58\n│               Description:  Chirp Quality Data Store\n├── DataTree('radarParameters')\n│       Dimensions:                         (beam: 4, pole: 1, NbOfNoiseLevelValues: 99)\n│       Coordinates:\n│         * beam                            (beam) \u003cU3 'W1' 'W2' 'W30' 'S7'\n│         * pole                            (pole) \u003cU2 'VV'\n│       Dimensions without coordinates: NbOfNoiseLevelValues\n│       Data variables:\n│           pulsesReceivedPerDwell          (beam) int64 58 58 58 58\n│           numberOfPulseIntervalsPerDwell  (beam) int64 65 66 65 67\n│           rank                            (beam) int64 7 8 7 9\n│           settableGain                    (beam, pole) float64 -1.0 -1.0 -1.0 -1.0\n│           pulseRepetitionFrequency        (beam) float64 1.283e+03 ... 1.297e+03\n│           samplesPerEchoLine              (beam) int64 6768 7920 7944 7320\n│           noiseLevelValues_BetaNought     (NbOfNoiseLevelValues) float64 -27.16 ......\n│           noiseLevelValues_SigmaNought    (NbOfNoiseLevelValues) float64 -28.36 ......\n│           noiseLevelValues_Gamma          (NbOfNoiseLevelValues) float64 -26.5 ... ...\n│       Attributes: (12/20)\n│           acquisitionType:             ScanSAR Wide\n│           beams:                       ['W1', 'W2', 'W30', 'S7']\n│           polarizations:               ['VV']\n│           pulses:                      11.58\n│           radarCenterFrequency_units:  Hz\n│           radarCenterFrequency:        5404999242.769673\n│           ...                          ...\n│           adcSamplingRate_units:       Hz\n│           adcSamplingRate:             12667968.75\n│           yawSteeringFlag:             YawSteeringOn\n│           geodeticFlag:                Off-Geocentric\n│           rawBitsPerSample:            4\n│           Description:                 Radar Parameters Data Store. Information des...\n└── DataTree('lut')\n        Dimensions:   (pixels: 10432)\n        Coordinates:\n          * pixels    (pixels) int64 0 1 2 3 4 5 ... 10426 10427 10428 10429 10430 10431\n        Data variables:\n            lutBeta   (pixels) float64 1.358e+07 1.358e+07 ... 1.358e+07 1.358e+07\n            lutGamma  (pixels) float64 1.164e+07 1.164e+07 ... 3.814e+07 3.815e+07\n            lutSigma  (pixels) float64 1.789e+07 1.789e+07 ... 4.049e+07 4.05e+07\n        Attributes:\n            Description:  RADARSAT Product LUT. (c) COPYRIGHT MacDonald Dettwiler and...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumr-lops%2Fxradarsat2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumr-lops%2Fxradarsat2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumr-lops%2Fxradarsat2/lists"}