Component Issue
CWMSTable
Describe the bug
I use CWMSTable for our public site. For Conc-Salinity, it always returns with unit mg/l. We would like to display data in g/l. I checked CWBI-TEST, and it also returns data at g/l. Wonder why CWMSTable returns mg/l, and how it can be corrected. Below is script (jsx), and I also attach a screenshot:
const tableTimeSeriesParams = [
{
tsid: "BBLW_S1-D11,0ft.Conc-Salinity.Inst.1Hour.0.IRIDIUM-REV",
header: <>Salinity @11.0ft<br /> (ppm)</>,
precision: 2,
},
{
tsid: "BBLW_S1-D21,0ft.Conc-Salinity.Inst.1Hour.0.IRIDIUM-REV",
header: <>Salinity @21.0ft<br /> (ppm)</>,
precision: 2,
},
{
tsid: "BBLW_S1-D32,0ft.Conc-Salinity.Inst.1Hour.0.IRIDIUM-REV",
header: <>Salinity @32.0ft<br /> (ppm)</>,
precision: 2,
},
{
tsid: "BBLW_S1-D5,0ft.Temp-Water.Inst.1Hour.0.IRIDIUM-REV",
header: <>Temp-Water <br />@5.0ft (F)</>,
precision: 2,
},
{
tsid: "BBLW_S1-D11,0ft.Temp-Water.Inst.1Hour.0.IRIDIUM-REV",
header: <>Temp-Water <br />@11.0ft (F)</>,
precision: 2,
},
{
tsid: "BBLW_S1-D21,0ft.Temp-Water.Inst.1Hour.0.IRIDIUM-REV",
header: <>Temp-Water <br />@21.0ft (F)</>,
precision: 2,
},
{
tsid: "BBLW_S1-D32,0ft.Temp-Water.Inst.1Hour.0.IRIDIUM-REV",
header: <>Temp-Water <br />@32.0ft (F)</>,
precision: 2,
},
];
return (
<UsaceBox title={stitle}>
<div className="overflow-y-auto h-[60vh]">
<CWMSTable
begin={cdaParams.begin}
end={cdaParams.end}
office={cdaParams.office}
timeseriesParams={tableTimeSeriesParams}
interval="5"
missingString="---"
sortAscending={false}
trim={true}
pageSize={2000}
cdaUrl={myCDAURL}
/>
</div>
</UsaceBox>
);
REDACTED relevant log output
Steps to Reproduce
No response
Component Issue
CWMSTable
Describe the bug
I use CWMSTable for our public site. For Conc-Salinity, it always returns with unit mg/l. We would like to display data in g/l. I checked CWBI-TEST, and it also returns data at g/l. Wonder why CWMSTable returns mg/l, and how it can be corrected. Below is script (jsx), and I also attach a screenshot:
REDACTED relevant log output
Steps to Reproduce
No response