ramp4-pcar4 / cdv_testing_party_240704

A private repo for temporarily hosting issues for a Testing Party
0 stars 0 forks source link

River levels and flow - extra datatable columns that do not show up on Details Panel #22

Open celinaolivieri opened 2 months ago

celinaolivieri commented 2 months ago

Describe the bug When a Hydrometric station is opened from the River levels and flow dataset, there are extra columns in the datatable that do not appear on Identified Layers panel

To Reproduce

  1. Open CCCS
  2. Load River levels and flow dataset
  3. Open Legend > Datatable for Hydrometric stations
  4. Scroll right and note columns
  5. Open any data point, compare to the data table

Expected behavior I expect the datatable to match the identified layer panel.

Actual There are several errors:

  1. Province/Territory is not displayed
  2. The following are not on the panel: links, coordinates
  3. Links under links seem to have json format.

EXAMPLE: [{"type":"text/html","rel":"related","title":"Station Information for SAINT JOHN RIVER AT FORT KENT (01AD002)","href":"https://api.weather.gc.ca//collections/hydrometric-stations/items?STATION_NUMBER=01AD002&f=html"},{"type":"application/json","rel":"related","title":"Daily Mean of Water Level or Discharge for SAINT JOHN RIVER AT FORT KENT (01AD002)","href":"https://api.weather.gc.ca//collections/hydrometric-daily-mean/items?STATION_NUMBER=01AD002"},{"type":"application/json","rel":"related","title":"Monthly Mean of Water Level or Discharge for SAINT JOHN RIVER AT FORT KENT (01AD002)","href":"https://api.weather.gc.ca//collections/hydrometric-monthly-mean/items?STATION_NUMBER=01AD002"},{"type":"text/html","rel":"alternate","title":"Station Information for SAINT JOHN RIVER AT FORT KENT (01AD002)","href":"https://wateroffice.ec.gc.ca/report/historical_e.html?stn=01AD002","hreflang":"en-CA"},{"type":"text/html","rel":"alternate","title":"Informations pour la station SAINT JOHN RIVER AT FORT KENT (01AD002)","href":"https://wateroffice.ec.gc.ca/report/historical_f.html?stn=01AD002","hreflang":"fr-CA"},{"type":"application/json","rel":"related","title":"Annual Maximum and Minimum Instantaneous Water Level or Discharge for SAINT JOHN RIVER AT FORT KENT (01AD002)","href":"https://api.weather.gc.ca//collections/hydrometric-annual-peaks/items?STATION_NUMBER=01AD002"},{"type":"application/json","rel":"related","title":"Annual Maximum and Minimum Daily Water Level or Discharge for SAINT JOHN RIVER AT FORT KENT (01AD002)","href":"https://api.weather.gc.ca//collections/hydrometric-annual-statistics/items?STATION_NUMBER=01AD002"}]

spencerwahl commented 2 months ago

combined with #5 it is definitely a full grid config issue

dan-bowerman commented 2 months ago

https://tfs.int.ec.gc.ca/tfs/DC/CCCS_Viewer/_workitems/edit/102346