Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add old Swedish radar codes to OPERA radar database #103

Open
15 of 17 tasks
peterdesmet opened this issue Apr 20, 2023 · 2 comments
Open
15 of 17 tasks

Add old Swedish radar codes to OPERA radar database #103

peterdesmet opened this issue Apr 20, 2023 · 2 comments
Labels
OPERA radar database See https://aloftdata.eu/radars/

Comments

@peterdesmet
Copy link
Member

peterdesmet commented Apr 20, 2023

Swedish radars got upgraded in 2016-2019 and received new odim codes (see #79). Archived data still exists under the old odim codes, but these are not listed in the OPERA radar database (archive), except for sevar. I think they should all be added to the OPERA_RADAR_ARH_DB.json file. Here's an overview of all Swedish radars and their replacements: https://github.com/enram/data-repository/wiki/se

These old radars should be added:

  • 1224: sease (data until 2017), replaced by sehem (start year 2017, data since 2017).
  • 1228: sehud (data until 2016), replaced by sehuv (start year 2017, data since 2017)
  • 1231: sekir (data until 2020), replaced by sekrn (start year 2020, data since 2021)
  • 1225: sekkr (data until 2018), replaced by sekaa (start year 2018, data since 2019)
  • 1229: selek (S) replaced by selek (D) in 2017
  • 1274: seang (S) replaced by seang (D) in 2015
  • 1227: selul (data until 2018), replaced by sella (start year 2018, data since 2019)
  • 1230: seosu (data until 2016), replaced by seosd (start year 2016, data since 2016)
  • 1226: seovi (data until 2017), replaced by seoer (start year 2017, data since 2017)
  • 1289: sevar (data until 2016), replaced by sevax (start year 2016, data since 2016) already included in archive
  • 1288: sevil (data until 2019), replaced by seatv (start year 2019, data since 2019)

Per radar:

  • Retrieve metadata
  • Verify metadata (by SMHI)
  • Add replacedBy property?
  • Add finishyear
  • Add startyear for the old radars
  • Verify that startyear for new radar is correct
@peterdesmet peterdesmet added the OPERA radar database See https://aloftdata.eu/radars/ label Apr 20, 2023
@peterdesmet
Copy link
Member Author

Example of suggested metadata. Items with <-- should be verified by SMHI / @CeciliaNilsson709

sease

{
    "number": "1224", <-- Number of sehem (sevar and sevax also share their number)
    "country": "Sweden",
    "countryid": "ESWI47",
    "oldcountryid": "SE47",
    "wmocode": "", <--
    "wigosid": "", <--
    "odimcode": "sease",
    "location": "Hemse (Ase)", <--
    "status": "0",
    "latitude": "57.3035", <-- 57.3035011292 according to vp file
    "longitude": "18.4001", <-- 18.400100708 according to vp file
    "heightofstation": "59", <--
    "band": "C", <--
    "doppler": "Y", <--
    "polarization": "D", <--
    "maxrange": "240", <--
    "startyear": "?", <--
    "finishyear": "2017", <--
    "heightantenna": "85", <--
    "diametrantenna": "4.2", < --
    "beam": "1", <-- 
    "gain": "44.3", <--
    "frequency": "5.605" <-- 
    "replacedby": "1224" <-- Either this or rely on number to detect replacements
}

@peterdesmet
Copy link
Member Author

peterdesmet commented Sep 22, 2023

All old Swedish radars are now included, but some properties should be corrected:

  • sekkr: add finishyear: 2018
  • seovi: add finishyear: 2017
  • seovi: correct location: Örnsköldsvik (not \\u00d6rnsk\\u00f6ldsvik)
  • selul: add finishyear: 2018
  • selul: correct location: Luleå (Rosvik) (not Lule\\u00e5 (Rosvik))
  • sehud: add finishyear: 2016
  • selek: add finishyear: 2017
  • seosu: add finishyear: 2016
  • seosu: correct location: Östersund (not \\u00d6stersund)
  • sekir: add finishyear: 2020
  • seang: add finishyear: 2015
  • seang: correct location: Ängelholm (not \\u00c4ngelholm)
  • sevil: add finishyear: 2019
  • sevil: correct location: Åtvidaberg (Vilebo) (not \\u00c5tvidaberg (Vilebo))

I have manually corrected all the above for https://aloftdata.eu/radars/#sweden, but they should be corrected at the source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OPERA radar database See https://aloftdata.eu/radars/
Projects
None yet
Development

No branches or pull requests

1 participant