Skip to content

Commit

Permalink
Merge pull request #194 from RENCI/#128-adding-details
Browse files Browse the repository at this point in the history
#128 adding details to model selection results ++
  • Loading branch information
lstillwe authored Aug 29, 2024
2 parents 81bded7 + fdb313f commit 29514fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/components/trays/model-selection/catalogItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export default function CatalogItems(data) {
numberName + mbr['properties'][numberEle] +
', Type: ' + mbr['properties']['event_type'] +
', Grid: ' + mbr['properties']['grid_type'] +
', Instance: ' + mbr['properties']['instance_name'] +
((mbr['properties']['meteorological_model'] === 'None') ? '' : ', ' + mbr['properties']['meteorological_model'])
}
</Typography>
Expand Down
4 changes: 2 additions & 2 deletions src/components/trays/model-selection/synopticTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const SynopticTabForm = () => {
// init the data urls
const rootUrl = `${ getNamespacedEnvParam('REACT_APP_UI_DATA_URL') }`;
const basePulldownUrl = `get_pulldown_data?met_class=synoptic${ getBrandingHandler() }`;
const baseDataUrl = `get_ui_data_secure?limit=14&met_class=synoptic&use_v3_sp=true${ getBrandingHandler() }`;
const baseDataUrl = `get_ui_data_secure?met_class=synoptic&use_v3_sp=true${ getBrandingHandler() }`;
const [finalDataUrl, setFinalDataUrl] = useState(rootUrl + basePulldownUrl);

// storage for received data to render pulldowns
Expand Down Expand Up @@ -68,7 +68,7 @@ export const SynopticTabForm = () => {
((synopticDate) ? '&run_date=' + synopticDate.toISOString() : '') +
((synopticCycle) ? '&cycle=' + synopticCycle : '') +
((synopticGrid) ? '&grid_type=' + synopticGrid : '') +
((synopticInstance) ? '&instance=' + synopticInstance : '');
((synopticInstance) ? '&instance_name=' + synopticInstance : '');

// set different limits on the data returned if no filter params were passed
if (queryString === '') {
Expand Down
2 changes: 1 addition & 1 deletion src/components/trays/model-selection/tropicalTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const TropicalTabForm = () => {
((tropicalStorm) ? '&storm_name=' + tropicalStorm : '') +
((tropicalAdvisory) ? '&advisory_number=' + tropicalAdvisory : '') +
((tropicalGrid) ? '&grid_type=' + tropicalGrid : '') +
((tropicalInstance) ? '&instance=' + tropicalInstance : '');
((tropicalInstance) ? '&instance_name=' + tropicalInstance : '');

// set different limits on the data returned if no filter params were passed (in days)
if (queryString === '') {
Expand Down

0 comments on commit 29514fa

Please sign in to comment.