mirror of
https://github.com/Unidata/python-awips.git
synced 2025-02-23 14:57:56 -05:00
Website generation fails for html within markdown cells
- update "note", "tip", "warning" blocks to use ">" blocks (which is what the old notebooks used) - updatea an html link for the Map Resources and Topo in the Additional Documentation to use markdown syntax so it renders properly in the generated webpage
This commit is contained in:
parent
0c0600bb12
commit
ef65cd2190
4 changed files with 16 additions and 35 deletions
|
@ -268,10 +268,7 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"<div class=\"alert-info\">\n",
|
||||
"<b>Tip:</b> \n",
|
||||
"More information could be gathered by looking at all the available location names (sectors), identifiers (entities), and parameters (channels). To see those run the following lines of code after the dataType has been set to satellite on the request object:\n",
|
||||
"</div>\n",
|
||||
"> **Tip**: More information could be gathered by looking at all the available location names (sectors), identifiers (entities), and parameters (channels). To see those run the following lines of code after the dataType has been set to satellite on the request object:\n",
|
||||
"\n",
|
||||
"```\n",
|
||||
"## Print Available Location Names\n",
|
||||
|
@ -317,10 +314,7 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"<div class=\"alert-info\">\n",
|
||||
"<b>Tip:</b> \n",
|
||||
"If you specify the fully qualified path, it will no longer depend on where this notebook is located. For example (for a Mac):\n",
|
||||
"</div>\n",
|
||||
"> **Tip**: If you specify the fully qualified path, it will no longer depend on where this notebook is located. For example (for a Mac):\n",
|
||||
"\n",
|
||||
"```\n",
|
||||
"outputDir = '/Users/scarter/test_dir/output/'\n",
|
||||
|
@ -616,12 +610,12 @@
|
|||
"title_sidebar": "Contents",
|
||||
"toc_cell": false,
|
||||
"toc_position": {
|
||||
"height": "calc(100% - 180px)",
|
||||
"height": "207.99632263183594px",
|
||||
"left": "10px",
|
||||
"top": "150px",
|
||||
"width": "230px"
|
||||
"width": "179.70587158203125px"
|
||||
},
|
||||
"toc_section_display": false,
|
||||
"toc_section_display": true,
|
||||
"toc_window_display": false
|
||||
}
|
||||
},
|
||||
|
|
|
@ -640,9 +640,7 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"<div class=\"alert-warning\">\n",
|
||||
"<b>Warning:</b> Not all datasets support levels. If you are trying this with another dataset and run into an exception (error), it's most likely because levels are not supported for that data type.\n",
|
||||
"</div> "
|
||||
"> **Warning**: Not all datasets support levels. If you are trying this with another dataset and run into an exception (error), it's most likely because levels are not supported for that data type."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -1061,9 +1059,7 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"<div class=\"alert-info\">\n",
|
||||
"<b>Note:</b> We have more, detailed notebooks about how analyze and visualize the data once you have what you want.\n",
|
||||
"</div>"
|
||||
"> **Note**: We have more, detailed notebooks about how analyze and visualize the data once you have what you want."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -1150,7 +1146,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.2"
|
||||
"version": "3.9.5"
|
||||
},
|
||||
"toc": {
|
||||
"base_numbering": 1,
|
||||
|
|
|
@ -136,9 +136,7 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"<div class=\"alert-info\">\n",
|
||||
"<b>Note:</b> You can play around with different times and forecast runs to see the differences.\n",
|
||||
"</div>"
|
||||
"> **Note**: You can play around with different times and forecast runs to see the differences."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -250,9 +248,7 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"<div class=\"alert-info\">\n",
|
||||
"<b>Note:</b> You may see a warning appear with a red background, this is okay, and will go away with subsequent runs of the cell.\n",
|
||||
"</div>"
|
||||
"> **Note**: You may see a warning appear with a red background, this is okay, and will go away with subsequent runs of the cell."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -388,7 +384,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.2"
|
||||
"version": "3.9.5"
|
||||
},
|
||||
"toc": {
|
||||
"base_numbering": 1,
|
||||
|
|
|
@ -153,11 +153,9 @@
|
|||
"\n",
|
||||
"* Each map database table has a geometry field called `the_geom`, which can be used to spatially select map resources for any column of type geometry.\n",
|
||||
"\n",
|
||||
"<br>\n",
|
||||
"<div class=\"alert-info\">\n",
|
||||
" <b>Tip:</b> Note the geometry definition of <code>the_geom</code> for each data type, which can be <b>Point</b>, <b>MultiPolygon</b>, or <b>MultiLineString</b>.\n",
|
||||
"</div>\n",
|
||||
"<br>\n",
|
||||
"\n",
|
||||
"> **Tip**: Note the geometry definition of `the_geom` for each data type, which can be **Point**, **MultiPolygon**, or **MultiLineString**.\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"Here we'll be using Boulder (BOU) as our example for plotting the County Warning Area (CWA). We'll query our EDEX server to get all counties in the CWA for BOU, and then plot those counties along withe the state boundaries and lines of longitude and latitude. In order to get this information from EDEX, we'll need to set several characteristics on our data request object. We will use [**request.setParameters()**](http://unidata.github.io/python-awips/api/IDataRequest.html#awips.dataaccess.IDataRequest.setParameters) to refine our query to EDEX."
|
||||
]
|
||||
|
@ -366,10 +364,7 @@
|
|||
"\n",
|
||||
"Request the city table based using the **envelope** attribute and filter by population and progressive disclosure level.\n",
|
||||
"\n",
|
||||
"<br>\n",
|
||||
"<div class=\"alert-warning\">\n",
|
||||
" <b>Warning:</b> the <code>prog_disc</code> field is not entirely understood and values appear to change significantly depending on WFO site.\n",
|
||||
"</div>"
|
||||
"> **Warning**: The `prog_disc` field is not entirely understood and values appear to change significantly depending on WFO site."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -673,7 +668,7 @@
|
|||
" request.setLocationNames('BOU')\n",
|
||||
" request.addIdentifier('cwa', 'BOU')\n",
|
||||
" \n",
|
||||
"See the <a href=\"http://unidata.github.io/awips2/python/maps-database/#mapdatacwa\">Maps Database Reference Page</a> for available database tables, column names, and types. "
|
||||
"See the [Maps Database Reference Page](http://unidata.github.io/awips2/python/maps-database/#mapdatacw) for available database tables, column names, and types. "
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue