Skip to content

Commit

Permalink
Merging development into section 508 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mollybsmith-noaa committed Nov 19, 2024
2 parents 153ac08 + 31bf99f commit d5d0372
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 26 deletions.
4 changes: 2 additions & 2 deletions apps/met-cyclone/server/dataFunctions/data_dieoff.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dataDieoff = function (plotParams, plotFunction) {
completeness: plotParams.completeness,
outliers: plotParams.outliers,
hideGaps: plotParams.noGapsCheck,
hasLevels: false,
hasLevels: true,
};
const dataRequests = {}; // used to store data queries
const queryArray = [];
Expand Down Expand Up @@ -100,7 +100,7 @@ dataDieoff = function (plotParams, plotFunction) {
thresholdClause = `and h.fcst_thresh = '${threshold}'`;
} else if (statLineType === "precalculated") {
// set up fields specific to precalculated stats
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid) order by unix_timestamp(ld.fcst_valid)) as sub_data`;
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid), ';', h.storm_id order by unix_timestamp(ld.fcst_valid), h.storm_id) as sub_data`;
statHeaderType = "tcst_header";
[, lineDataType] = statisticOptionsMap[statistic];
modelClause = `and h.amodel = '${model}'`;
Expand Down
4 changes: 2 additions & 2 deletions apps/met-cyclone/server/dataFunctions/data_histogram.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dataHistogram = function (plotParams, plotFunction) {
completeness: plotParams.completeness,
outliers: plotParams.outliers,
hideGaps: plotParams.noGapsCheck,
hasLevels: false,
hasLevels: true,
};
const alreadyMatched = false;
const dataRequests = {}; // used to store data queries
Expand Down Expand Up @@ -102,7 +102,7 @@ dataHistogram = function (plotParams, plotFunction) {
thresholdClause = `and h.fcst_thresh = '${threshold}'`;
} else if (statLineType === "precalculated") {
// set up fields specific to precalculated stats
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid) order by unix_timestamp(ld.fcst_valid)) as sub_data`;
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid), ';', h.storm_id order by unix_timestamp(ld.fcst_valid), h.storm_id) as sub_data`;
statHeaderType = "tcst_header";
[, lineDataType] = statisticOptionsMap[statistic];
modelClause = `and h.amodel = '${model}'`;
Expand Down
4 changes: 2 additions & 2 deletions apps/met-cyclone/server/dataFunctions/data_series.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dataSeries = function (plotParams, plotFunction) {
completeness: plotParams.completeness,
outliers: plotParams.outliers,
hideGaps: plotParams.noGapsCheck,
hasLevels: false,
hasLevels: true,
};
const dataRequests = {}; // used to store data queries
const queryArray = [];
Expand Down Expand Up @@ -103,7 +103,7 @@ dataSeries = function (plotParams, plotFunction) {
thresholdClause = `and h.fcst_thresh = '${threshold}'`;
} else if (statLineType === "precalculated") {
// set up fields specific to precalculated stats
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid) order by unix_timestamp(ld.fcst_valid)) as sub_data`;
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid), ';', h.storm_id order by unix_timestamp(ld.fcst_valid), h.storm_id) as sub_data`;
statHeaderType = "tcst_header";
[, lineDataType] = statisticOptionsMap[statistic];
modelClause = `and h.amodel = '${model}'`;
Expand Down
4 changes: 2 additions & 2 deletions apps/met-cyclone/server/dataFunctions/data_validtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dataValidTime = function (plotParams, plotFunction) {
completeness: plotParams.completeness,
outliers: plotParams.outliers,
hideGaps: plotParams.noGapsCheck,
hasLevels: false,
hasLevels: true,
};
const dataRequests = {}; // used to store data queries
const queryArray = [];
Expand Down Expand Up @@ -100,7 +100,7 @@ dataValidTime = function (plotParams, plotFunction) {
thresholdClause = `and h.fcst_thresh = '${threshold}'`;
} else if (statLineType === "precalculated") {
// set up fields specific to precalculated stats
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid) order by unix_timestamp(ld.fcst_valid)) as sub_data`;
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid), ';', h.storm_id order by unix_timestamp(ld.fcst_valid), h.storm_id) as sub_data`;
statHeaderType = "tcst_header";
[, lineDataType] = statisticOptionsMap[statistic];
modelClause = `and h.amodel = '${model}'`;
Expand Down
4 changes: 2 additions & 2 deletions apps/met-cyclone/server/dataFunctions/data_yeartoyear.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dataYearToYear = function (plotParams, plotFunction) {
completeness: plotParams.completeness,
outliers: plotParams.outliers,
hideGaps: plotParams.noGapsCheck,
hasLevels: false,
hasLevels: true,
};
const dataRequests = {}; // used to store data queries
const queryArray = [];
Expand Down Expand Up @@ -99,7 +99,7 @@ dataYearToYear = function (plotParams, plotFunction) {
thresholdClause = `and h.fcst_thresh = '${threshold}'`;
} else if (statLineType === "precalculated") {
// set up fields specific to precalculated stats
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid) order by unix_timestamp(ld.fcst_valid)) as sub_data`;
statisticClause = `avg(${statisticOptionsMap[statistic][2]}) as stat, group_concat(distinct ${statisticOptionsMap[statistic][2]}, ';', 9999, ';', unix_timestamp(ld.fcst_valid), ';', h.storm_id order by unix_timestamp(ld.fcst_valid), h.storm_id) as sub_data`;
statHeaderType = "tcst_header";
[, lineDataType] = statisticOptionsMap[statistic];
modelClause = `and h.amodel = '${model}'`;
Expand Down
14 changes: 7 additions & 7 deletions apps/met-cyclone/server/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,14 @@ const doCurveParams = function () {
"Model-truth distance to land (nm)": [
"precalculated",
"line_data_tcmpr",
"ld.adland-ld.bdland",
"if(ld.adland != -9999 and ld.bdland != -9999,ld.adland-ld.bdland,null)",
],
"Model MSLP (mb)": ["precalculated", "line_data_tcmpr", "ld.amslp"],
"Truth MSLP (mb)": ["precalculated", "line_data_tcmpr", "ld.bmslp"],
"Model-truth MSLP (mb)": [
"precalculated",
"line_data_tcmpr",
"ld.amslp-ld.bmslp",
"if(ld.amslp != -9999 and ld.bmslp != -9999,ld.amslp-ld.bmslp,null)",
],
"Model maximum wind speed (kts)": [
"precalculated",
Expand All @@ -320,7 +320,7 @@ const doCurveParams = function () {
"Model-truth maximum wind speed (kts)": [
"precalculated",
"line_data_tcmpr",
"ld.amax_wind-ld.bmax_wind",
"if(ld.amax_wind != -9999 and ld.bmax_wind != -9999,ld.amax_wind-ld.bmax_wind,null)",
],
"Model radius of maximum winds (nm)": [
"precalculated",
Expand All @@ -335,28 +335,28 @@ const doCurveParams = function () {
"Model-truth radius of maximum winds (nm)": [
"precalculated",
"line_data_tcmpr",
"ld.amrd-ld.bmrd",
"if(ld.amrd != -9999 and ld.bmrd != -9999,ld.amrd-ld.bmrd,null)",
],
"Model eye diameter (nm)": ["precalculated", "line_data_tcmpr", "ld.aeye"],
"Truth eye diameter (nm)": ["precalculated", "line_data_tcmpr", "ld.beye"],
"Model-truth eye diameter (nm)": [
"precalculated",
"line_data_tcmpr",
"ld.aeye-ld.beye",
"if(ld.aeye != -9999 and ld.beye != -9999,ld.aeye-ld.beye,null)",
],
"Model storm speed (kts)": ["precalculated", "line_data_tcmpr", "ld.aspeed"],
"Truth storm speed (kts)": ["precalculated", "line_data_tcmpr", "ld.bspeed"],
"Model-truth storm speed (kts)": [
"precalculated",
"line_data_tcmpr",
"ld.aspeed-ld.bspeed",
"if(ld.aspeed != -9999 and ld.bspeed != -9999,ld.aspeed-ld.bspeed,null)",
],
"Model storm direction (deg)": ["precalculated", "line_data_tcmpr", "ld.adir"],
"Truth storm direction (deg)": ["precalculated", "line_data_tcmpr", "ld.bdir"],
"Model-truth storm direction (deg)": [
"precalculated",
"line_data_tcmpr",
"ld.adir-ld.bdir",
"if(ld.adir != -9999 and ld.bdir != -9999,ld.adir-ld.bdir,null)",
],
},
line_data_ctc: {
Expand Down
12 changes: 7 additions & 5 deletions docs/Users_Guide/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,26 @@ When applicable, release notes are followed by the GitHub issue number which des
enhancement, or new feature (`METexpress GitHub issues <https://github.com/dtcenter/METexpress/issues>`_).
Important issues are listed **in bold** for emphasis.

METexpress Version 5.3.4 release notes (20241101)
METexpress Version 5.3.4 release notes (20241119)
-------------------------------------------------

.. dropdown:: Repository, build, and test

* None
* None.

.. dropdown:: Documentation

* None
* None.

.. dropdown:: Bugfixes

* Query improvements.
* None.

.. dropdown:: Enhancements

* None.
* MET Cyclone now matches on storm ID as well as time.
* MET Cyclone correctly filters out missing values.
* Made error bar thickness customizable and slightly increased the default thickness.

.. dropdown:: Miscellaneous

Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
# To rotate this list of authors for each official release,
# move the first author to the end of the list
CURRENT_AUTHORS = [
'Molly Smith',
'Randy Pierce'
'Jeff Hamilton',
'Natalie Babij',
'Ian McGinnis',
'Gopa Padmanabhan',
'Molly Smith',
]

# list of former contributors who are no longer involved with the project
Expand Down Expand Up @@ -61,13 +61,13 @@
author_list = ', '.join(formatted_authors)

# The stable version, displayed on the front page of the PDF
version = '5.3.4'
version = '5.3.5'
verinfo = version

# The full version, including alpha/beta/rc tags
release = f'{version}'
release_year = '2024'
release_date = f'{release_year}1101'
release_date = f'{release_year}1119'
copyright = f'{release_year}, {author}'
release_monthyear = datetime.strptime(release_date, '%Y%m%d').strftime('%B %Y')

Expand Down

0 comments on commit d5d0372

Please sign in to comment.