Skip to content

Commit

Permalink
Merge pull request #1587 from weather-gov/eg-1528-afd-html-endpoint
Browse files Browse the repository at this point in the history
AFD HTML-only endpoints and selection implementation
  • Loading branch information
greg-does-weather authored Aug 26, 2024
2 parents b2fd75f + 5e332c4 commit e762f92
Show file tree
Hide file tree
Showing 39 changed files with 1,237 additions and 733 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup-site/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ runs:
--password=drupal \
--user=root \
weathergov
- name: clear the Drupal cache
shell: bash
run: make cc
3 changes: 3 additions & 0 deletions .github/workflows/code-standards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ jobs:
- name: run browser tests (Playwright)
if: needs.should-test.outputs.yes == 'true'
uses: ./.github/actions/browser-tests-playwright
- name: dump drupal logs
if: always()
run: docker compose logs drupal

merge-reports:
# Merge reports after playwright-tests, even if some shards have failed
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"@context": {
"@version": "1.1",
"@vocab": "https://api.weather.gov/ontology#"
},
"@id": "https://api.weather.gov/products/07330a8f-cd88-4337-902e-24f91ad7371c",
"id": "07330a8f-cd88-4337-902e-24f91ad7371c",
"wmoCollectiveId": "FXUS61",
"issuingOffice": "KOKX",
"issuanceTime": "2024-08-20T17:48:00+00:00",
"productCode": "AFD",
"productName": "Area Forecast Discussion",
"productText": "\n000\nFXUS61 KOKX 201748\nAFDOKX\n\nArea Forecast Discussion\nNational Weather Service New York NY\n148 PM EDT Tue Aug 20 2024\n\n.SYNOPSIS...\nLow pressure pulls away to the northeast today. High pressure \ngradually builds across through mid week. High pressure will \nremain the predominate feature Thursday through much of the \nweekend. High pressure may lose hold as weak low pressure passes\nto our north late Sunday into early next week.\n\n&&\n\n.NEAR TERM /THROUGH TONIGHT/...\nMain change this update was to decrease cloud cover today. This\nseems prudent with a strong inversion at 800 mb, dry low-levels,\nand subsident NW flow off of Catskills. Stratocu development to\nthe NW of the Lower Hudson Valley quite extensive on latest \nsatellite imagery, but struggling to get into the area, except \nfor SE CT.\n\nOtherwise, the upper low drops into northern NY state later \ntoday. The lower and middle levels by and large will continue to\ndry out with a noticeably drier NW flow regime setting up \nacross the area. The most noticeable change is the lowering of \ndew points across the region from west to east throughout today \nand into tonight. Dew points fall into the much more comfortable\n40s and 50s today. Highs are forecast to get into the upper 60s\nand lower 70s, with spots in an around the NYC metro a bit \nwarmer. This is about 5 to 10 degrees below average. The lower \nlevels should be dry enough for today into tonight to preclude \nany rain shower activity despite some spokes of upper level \nenergy from the upper level low swinging through.\n\n&&\n\n.SHORT TERM /WEDNESDAY THROUGH WEDNESDAY NIGHT/...\nThe upper and mid level trough axis will swing through during \nWednesday. Despite this, predominantly dry weather continues \nfor the mid week. There is only a slight chance of a few widely\nscattered showers for mainly northern locations Wed afternoon.\nOtherwise, mainly just some low level fair weather clouds can \nbe expected from time to time with the lower and mid levels \nbeing relatively dry and synoptic scale sinking motion \nincreasing overall as high pressure will continue to gradually \nbuild from the west. Dew point readings will remain in the \ncomfortable 50s providing seasonably cool weather for this time \nof year. Day time temperatures will be close to 10 degrees below\naverage Wednesday with mainly lower and middle 70s for day time\nmaxes, and temperatures Wednesday night running below average \nwith night time mins in the lower 50s across the interior and \nupper 50s closer to the coast.\n\n&&\n\n.LONG TERM /THURSDAY THROUGH MONDAY/...\nNo significant changes in the long term and stuck fairly close to \nprevious forecast/NBM. \n\nSurface high pressure builds into the region from the Great Lakes on \nThursday and remains in place through much of the weekend. This will \nlead to an extended period of dry weather. A trough exits to the \neast late Thursday and early Friday as a ridge takes over. This will \nlead to gradually warming temperatures. NW flow continues on \nThursday under high pressure keep high temperatures in the upper to \nlow 70s. Upper 70s to lower 80s return on Friday as ridging builds \naloft and surface winds become more westerly, eventually \nsouthwesterly by the afternoon. Westerly to southerly flow continues \ninto the weekend allowing for further warming with highs in the \nlow/mid-80s. \n\nGlobal models are not in a consensus late Sunday into Monday. The \nGFS has a trough develop over the area while the ECMWF have the \ntrough farther displaced from our area, mainly to the northeast then \neast. Only the GFS solution would bring a chance for rain. Given the \ndivergence in model guidance, have kept POPs out of of the ending \nperiods in the extended forecast.\n\n&&\n\n.AVIATION /18Z TUESDAY THROUGH SUNDAY/...\nHigh pressure slowly builds into the region through tonight.\n\nVFR.\n\nWind speeds around 10-15kt with occasional gusts around 20 kt \nthrough this afternoon. The gusts will likely end in the evening\nwith winds remaining out of the NW around 10kt or less tonight,\nthen between 10-15 kt on Wednesday.\n\n ...NY Metro (KEWR/KLGA/KJFK/KTEB) TAF Uncertainty...\n\nGusts may be occasional this afternoon. \n\nOUTLOOK FOR 18Z WEDNESDAY THROUGH SUNDAY...\n\nWednesday-Sunday: VFR.\n\nDetailed information, including hourly TAF wind component forecasts, \ncan be found at: https:/www.weather.gov/zny/n90\n\n&&\n\n.MARINE...\nBased on latest obs and guidance, all SCAs on the ocean have\nbeen discontinued. \n\nA NW flow prevails in the wake of a cold front. A pressure \ngradient exists with the cold front offshore and building high \npressure to the west. Mainly sub small craft conditions today\nwith gusts to around 20 kt. Otherwise, sub small craft \nconditions prevail through the upcoming weekend as high \npressure builds into the coastal waters.\n\n&&\n\n.HYDROLOGY...\nNo hydrological impacts are expected through the entire forecast \nperiod.\n\n&&\n\n.TIDES/COASTAL FLOODING...\nA high rip current risk is in place through 8 pm this evening \ndue to elevated, long period swells from Ernesto.\n\nWith a full moon earlier this week and higher astronomical \ntides lingering expect minor coastal flood benchmarks to be \napproached or slightly exceeded for tonight's high tide cycle \nacross SW CT and the south shore bays of Nassau and Queens. This\nis being handled with coastal flood statements. Elsewhere minor\nbenchmarks are not expected to be approached.\n\n&&\n\n.OKX WATCHES/WARNINGS/ADVISORIES...\nCT...None.\nNY...High Risk for Rip Currents until 8 PM EDT this evening for NYZ075-\n 080-081-178-179.\nNJ...None.\nMARINE...None.\n\n&&\n\n$$\n\nSYNOPSIS...BC/JE/DW\nNEAR TERM...JE/DW\nSHORT TERM...JE\nLONG TERM...BC\nAVIATION...20\nMARINE...BC/JE/DW\nHYDROLOGY...BC/JE\nTIDES/COASTAL FLOODING...\n"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"@context": {
"@version": "1.1",
"@vocab": "https://api.weather.gov/ontology#"
},
"@id": "https://api.weather.gov/products/08ca0238-ea1b-4d1a-9cb7-f03c3ccafd0d",
"id": "08ca0238-ea1b-4d1a-9cb7-f03c3ccafd0d",
"wmoCollectiveId": "FXUS61",
"issuingOffice": "KOKX",
"issuanceTime": "2024-08-20T11:25:00+00:00",
"productCode": "AFD",
"productName": "Area Forecast Discussion",
"productText": "\n000\nFXUS61 KOKX 201125\nAFDOKX\n\nArea Forecast Discussion\nNational Weather Service New York NY\n725 AM EDT Tue Aug 20 2024\n\n.SYNOPSIS...\nLow pressure pulls away to the northeast today and into Nova Scotia \ntonight. High pressure gradually builds across through mid week.\nHigh pressure will remain the predominate feature Thursday \nthrough much of the weekend. High pressure may lose hold as weak\nlow pressure passes to our north late Sunday into early next \nweek.\n\n&&\n\n.NEAR TERM /THROUGH TONIGHT/...\nOnly adjustment for this update was to include chance of a few\nlight showers early this morning across far east and northeast\nportions of the area. It should push out quickly in the next \nfew hours, otherwise no changes.\n\nAn upper level low slides across the Eastern Great Lakes and \npivots into Upstate New York. The lower and middle levels by and\nlarge will continue to dry out with a noticeably drier NW flow \nregime setting up across the area. The most noticeable change is\nthe lowering of dew points across the region from west to east \nthroughout today and into tonight. Dew points fall into the much\nmore comfortable 50s today, with some dew points getting into \nthe upper 40s across northern and northwestern areas tonight. \nWith the cooler air mass in place and scattered to broken clouds\nindicated by BUFKIT profiles and steep low level lapse rates, \nexpect temperatures to reach the mainly the middle 70s today, \nwith a few pockets of lower 70s in spots resulting in \ntemperatures a good 5 to 10 degrees below average. The lower \nlevels should be dry enough for today into tonight to preclude \nany rain shower activity despite some spokes of upper level \nenergy from the upper level low swinging through.\n\n&&\n\n.SHORT TERM /WEDNESDAY THROUGH WEDNESDAY NIGHT/...\nThe upper and mid level trough axis will swing through during \nWednesday. Despite this, predominantly dry weather continues \nfor the mid week. There is only a slight chance of a few widely\nscattered showers for mainly northern locations Wed afternoon.\nOtherwise, mainly just some low level fair weather clouds can \nbe expected from time to time with the lower and mid levels \nbeing relatively dry and synoptic scale sinking motion \nincreasing overall as high pressure will continue to gradually \nbuild from the west. Dew point readings will remain in the \ncomfortable 50s providing seasonably cool weather for this time \nof year. Day time temperatures will be close to 10 degrees below\naverage Wednesday with mainly lower and middle 70s for day time\nmaxes, and temperatures Wednesday night running below average \nwith night time mins in the lower 50s across the interior and \nupper 50s closer to the coast.\n\n&&\n\n.LONG TERM /THURSDAY THROUGH MONDAY/...\nNo significant changes in the long term and stuck fairly close to \nprevious forecast/NBM. \n\nSurface high pressure builds into the region from the Great Lakes on \nThursday and remains in place through much of the weekend. This will \nlead to an extended period of dry weather. A trough exits to the \neast late Thursday and early Friday as a ridge takes over. This will \nlead to gradually warming temperatures. NW flow continues on \nThursday under high pressure keep high temperatures in the upper to \nlow 70s. Upper 70s to lower 80s return on Friday as ridging builds \naloft and surface winds become more westerly, eventually \nsouthwesterly by the afternoon. Westerly to southerly flow continues \ninto the weekend allowing for further warming with highs in the \nlow/mid-80s. \n\nGlobal models are not in a consensus late Sunday into Monday. The \nGFS has a trough develop over the area while the ECMWF have the \ntrough farther displaced from our area, mainly to the northeast then \neast. Only the GFS solution would bring a chance for rain. Given the \ndivergence in model guidance, have kept POPs out of of the ending \nperiods in the extended forecast.\n\n&&\n\n.AVIATION /12Z TUESDAY THROUGH SATURDAY/...\nHigh pressure slowly builds into the region today and tonight.\n\nMainly VFR. There is a chance for an isolated light shower or\nsprinkle early this morning across eastern portions of Long \nIsland and Connecticut. There may also be brief periods of MVFR\nceilings around 2.5-3kft. \n\nWinds will remain NW through the TAF period. Wind speeds around\n10 kt increase to 10-15kt with gusts around 20 kt. The gusts \ncould end up occasional and any gusts likely end in the evening.\nWinds become 10kt or less once again tonight. \n\n ...NY Metro (KEWR/KLGA/KJFK/KTEB) TAF Uncertainty...\n\nGusts may be occasional today. \n\nOUTLOOK FOR 12Z WEDNESDAY THROUGH SATURDAY...\n\nWednesday-Saturday: VFR.\n\nDetailed information, including hourly TAF wind component forecasts, \ncan be found at: https:/www.weather.gov/zny/n90\n\n&&\n\n.MARINE...\nA NW flow prevails in the wake of a cold front. A pressure gradient \nexists with the cold front offshore and building high pressure to \nthe west. Mainly sub small craft conditions, with marginal small \ncraft conditions at times through today for the ocean with gusts to \naround 20 kt which also includes the near shore coastal waters.\nThus have left up a small craft advisory through 16z for the\nwestern and central ocean zones, and until 18z for the eastern\nmost ocean. Otherwise sub small craft conditions prevail for \nTuesday night and through the upcoming weekend as high pressure\nbuilds into the coastal waters.\n\n&&\n\n.HYDROLOGY...\nNo hydrological impacts are expected through the entire forecast \nperiod.\n\n&&\n\n.TIDES/COASTAL FLOODING...\nA high rip current risk is in place through 8 pm this evening \ndue to elevated, long period swells from Ernesto.\n\nWith a full moon earlier this week and higher astronomical \ntides lingering expect minor coastal flood benchmarks to be \napproached or slightly exceeded for tonight's high tide cycle \nacross SW CT and the south shore bays of Nassau and Queens. This\nis being handled with coastal flood statements. Elsewhere minor\nbenchmarks are not expected to be approached.\n\n&&\n\n.OKX WATCHES/WARNINGS/ADVISORIES...\nCT...None.\nNY...High Risk for Rip Currents through this evening for NYZ075-080-081-\n 178-179.\nNJ...None.\nMARINE...Small Craft Advisory until 2 PM EDT this afternoon for ANZ350.\n Small Craft Advisory until noon EDT today for ANZ353-355.\n\n&&\n\n$$\n\nSYNOPSIS...BC/JE\nNEAR TERM...JE\nSHORT TERM...JE\nLONG TERM...BC\nAVIATION...BC\nMARINE...BC/JE\nHYDROLOGY...BC/JE\nTIDES/COASTAL FLOODING...\n"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"@context": {
"@version": "1.1",
"@vocab": "https://api.weather.gov/ontology#"
},
"@id": "https://api.weather.gov/products/12c9be7e-414e-4fae-a0a1-b02e50ff2070",
"id": "12c9be7e-414e-4fae-a0a1-b02e50ff2070",
"wmoCollectiveId": "FXUS62",
"issuingOffice": "KTAE",
"issuanceTime": "2024-08-21T00:41:00+00:00",
"productCode": "AFD",
"productName": "Area Forecast Discussion",
"productText": "\n000\nFXUS62 KTAE 210041\nAFDTAE\n\nArea Forecast Discussion\nNational Weather Service Tallahassee FL\n841 PM EDT Tue Aug 20 2024\n\n...New UPDATE...\n\n.UPDATE...\nIssued at 839 PM EDT Tue Aug 20 2024\n\nNo major changes needed to the forecast at this time. A mostly\nclear night tonight with lows falling into the lower 70s. Patchy\nfog is possible towards daybreak along the I75 corridor in our\nsouthern Georgia counties. \n\n&&\n\n.NEAR TERM...\n(Through Wednesday)\nIssued at 221 PM EDT Tue Aug 20 2024\n\nDry air across the area continues filtering in on northerly flow\nthis afternoon behind a now stalled front over the northern Gulf\nand the Florida Peninsula. This will lead to a calm, quiet night\nacross the forecast area with lows in the upper 60s and lower 70s.\nHowever, some patchy fog cannot be ruled out near the I-75\ncorridor. A little bit of moisture returns on the easterly or \nnortheasterly flow on Wednesday, which will lead to some showers \nand storms near the I-75 corridor and Suwannee Valley, but rain \nchances are generally 40 percent or less. Highs will be in the \nlower to middle 90s, but the lower dew points will constrain the \nheat index values to 100 or less.\n\n&&\n\n.SHORT TERM...\n(Wednesday night through Thursday night)\nIssued at 221 PM EDT Tue Aug 20 2024\n\nA shortwave will round the base of the trough over the eastern US\nWednesday night into Thursday. PWATs will also increase to 1.6 to\n1.8 inches. This shortwave along with increasing moisture will \nlead to high rain chances, mainly over the southern and eastern \nparts of the area Thursday afternoon. There is some possibility of\nstrong storms Thursday given about 15 to 20 kt of deep layer \nshear and ample DCAPE with mid-level dry air lingering. The added \ncloud cover will drop highs into the upper 80s to lower 90s. Lows \nwill be in the lower half of the 70s.\n\n&&\n\n.LONG TERM...\n(Friday through Monday)\nIssued at 221 PM EDT Tue Aug 20 2024\n\nDeterministic and ensemble guidance suggests the shortwave may\npinch off from the main trough and meander over the northern Gulf\nthis weekend, which will keep rain chances up a bit through the\nweekend. However, guidance does differ on how much moisture\nremains in the area as some northeasterly flow tries to become\nre-established over the area. Regardless, the best rain chances\nwill generally remain across the southern and eastern parts of the\nforecast area. Highs will be in the upper 80s in the east to the\nmid 90s in the west. Lows will be in the low to mid 70s.\n\nNext week, ridging will build across much of the southern US,\nwhich will lead to a reduction in rain chances and an increase in\ntemperatures. Highs will return to the mid to upper 90s with lows\nin the mid 70s. There will still be just enough dry air that our\nheat index values will still remain around 100-105.\n\n&&\n\n.AVIATION...\n(00Z TAFS)\nIssued at 724 PM EDT Tue Aug 20 2024\n\nVFR through the period for most sites. The exception is VLD which\nmay have tempo IFR vsbys around dawn and then PROB30 for TSRA \nafter 21Z. Northwest wind directions now and through the overnight\nwill clock around to the east after daybreak.\n\n&&\n\n.MARINE...\nIssued at 221 PM EDT Tue Aug 20 2024\n\nGenerally light and variable winds are expected over the next 24\nto 36 hours before becoming more predominantly easterly late in\nthe week into the weekend. With this pattern, some nocturnal\neasterly surges are possible, which may result in bouts of cautionary\nconditions during the overnight hours. Seas will be around 1 to 3\nfeet. Chances for showers and thunderstorms will also increase\nthrough the period.\n\n&&\n\n.FIRE WEATHER...\nIssued at 221 PM EDT Tue Aug 20 2024\n\nGenerally east to northeast transport winds will prevail Wednesday\nthrough Friday with good to excellent dispersions across the area\neach day. Min RH values will be in the mid-30s to mid-40s\nWednesday, increasing each day. Rain chances will also increase\neach day, generally over southern and eastern parts of the area.\nOverall, fire weather concerns remain low.\n\n&&\n\n.HYDROLOGY...\nIssued at 221 PM EDT Tue Aug 20 2024\n\nAreal flooding continues across southeastern Madison County as the\nflood waters continue to shift generally eastward toward the\nSuwannee River. Additional rainfall could exacerbate issues going\nforward.\n\nThe lower Suwannee remains in minor flood, but all points are now\nfalling. This will continue to be a slow fall over the next 5-7\ndays. Additional rainfall over the next 7 days will not cause any\nadditional river flooding.\n\nFlash flooding is not a significant concern either over the next 7\ndays. But, locally heavy rainfall cannot be ruled out in any\nslow-moving storms.\n\n&&\n\n.SPOTTER INFORMATION STATEMENT...\n\nSpotter activation is not requested. However, spotters are always \nencouraged to safely report significant weather conditions when they \noccur by calling the office or tweeting us @NWSTallahassee.\n\n&&\n\n.PRELIMINARY POINT TEMPS/POPS...\nTallahassee 70 94 72 89 / 0 20 20 70 \nPanama City 73 93 74 91 / 0 10 30 60 \nDothan 70 94 71 91 / 0 10 20 40 \nAlbany 71 92 71 89 / 0 20 20 40 \nValdosta 71 92 72 89 / 0 30 20 60 \nCross City 72 92 72 88 / 0 30 20 80 \nApalachicola 75 91 76 88 / 0 10 30 70 \n\n&&\n\n.TAE WATCHES/WARNINGS/ADVISORIES...\nFL...None.\nGA...None.\nAL...None.\nGM...None.\n&&\n\n$$\n\nNEAR TERM...Young\nSHORT TERM...Young\nLONG TERM....Young\nAVIATION...Scholl\nMARINE...Young\nFIRE WEATHER...Young\nHYDROLOGY...Young\n"
}
Loading

0 comments on commit e762f92

Please sign in to comment.