|
1183 | 1183 | "name": "stderr", |
1184 | 1184 | "output_type": "stream", |
1185 | 1185 | "text": [ |
1186 | | - "/tmp/ipykernel_42384/2574947031.py:1: DtypeWarning: Columns (1,2,3,4) have mixed types. Specify dtype option on import or set low_memory=False.\n", |
| 1186 | + "/tmp/ipykernel_498482/2574947031.py:1: DtypeWarning: Columns (1,2,3,4) have mixed types. Specify dtype option on import or set low_memory=False.\n", |
1187 | 1187 | " concentrations_ds = pd.read_csv(settings['release_maps']['global_concentrations'])\n" |
1188 | 1188 | ] |
1189 | 1189 | } |
|
1669 | 1669 | "# Plot the coastal initialisation map\n", |
1670 | 1670 | "ax = plt.subplot(gs[0,0], projection=ccrs.Robinson())\n", |
1671 | 1671 | "vmin, vmax = 1e-1, 1e3\n", |
1672 | | - "cb = ax.scatter(pset_coastal.lon, pset_coastal.lat, c=pset_coastal.plastic_amount, s=0.25, cmap=plt.cm.inferno, transform=ccrs.PlateCarree(), vmin=vmin, vmax =vmax, norm=matplotlib.colors.LogNorm())\n", |
| 1672 | + "cb = ax.scatter(pset_coastal.lon, pset_coastal.lat, c=pset_coastal.plastic_amount, s=0.25, cmap=plt.cm.inferno, transform=ccrs.PlateCarree(), vmin=vmin, vmax=vmax, norm=matplotlib.colors.LogNorm())\n", |
1673 | 1673 | "ax.add_feature(cfeature.LAND, zorder=0, color='grey')\n", |
1674 | 1674 | "ax.set_global()\n", |
1675 | 1675 | "cbar_ax = ax.inset_axes(cb_axes_position)\n", |
|
1680 | 1680 | "# Plot the rivers initialisation map\n", |
1681 | 1681 | "ax = plt.subplot(gs[0,2], projection=ccrs.Robinson())\n", |
1682 | 1682 | "vmin, vmax = 1e-1, 1e2\n", |
1683 | | - "cb = ax.scatter(pset_rivers.lon, pset_rivers.lat, c=pset_rivers.plastic_amount, s=0.25, cmap=cmocean.cm.solar, transform=ccrs.PlateCarree(), vmin=vmin, vmax =vmax, norm=matplotlib.colors.LogNorm())\n", |
| 1683 | + "cb = ax.scatter(pset_rivers.lon, pset_rivers.lat, c=pset_rivers.plastic_amount, s=0.25, cmap=cmocean.cm.solar, transform=ccrs.PlateCarree(), vmin=vmin, vmax=vmax, norm=matplotlib.colors.LogNorm())\n", |
1684 | 1684 | "ax.add_feature(cfeature.LAND, zorder=0, color='grey')\n", |
1685 | 1685 | "ax.set_global()\n", |
1686 | 1686 | "cbar_ax = ax.inset_axes(cb_axes_position)\n", |
|
1691 | 1691 | "# Plot the fisheries initialisation map\n", |
1692 | 1692 | "ax = plt.subplot(gs[1,0], projection=ccrs.Robinson())\n", |
1693 | 1693 | "vmin, vmax = 1e-1, 1e3\n", |
1694 | | - "cb = ax.scatter(pset_fisheries.lon, pset_fisheries.lat, c=pset_fisheries.plastic_amount, s=0.1, cmap=plt.cm.Spectral_r, transform=ccrs.PlateCarree(), vmin=vmin, vmax =vmax, norm=matplotlib.colors.LogNorm())\n", |
| 1694 | + "cb = ax.scatter(pset_fisheries.lon, pset_fisheries.lat, c=pset_fisheries.plastic_amount, s=0.1, cmap=plt.cm.Spectral_r, transform=ccrs.PlateCarree(), vmin=vmin, vmax=vmax, norm=matplotlib.colors.LogNorm())\n", |
1695 | 1695 | "ax.add_feature(cfeature.LAND, zorder=0, color='grey')\n", |
1696 | 1696 | "ax.set_global()\n", |
1697 | 1697 | "cbar_ax = ax.inset_axes(cb_axes_position)\n", |
|
1701 | 1701 | "\n", |
1702 | 1702 | "# Plot the current concentrations initialisation map\n", |
1703 | 1703 | "ax = plt.subplot(gs[1,2], projection=ccrs.Robinson())\n", |
1704 | | - "vmin, vmax = 1e-1, 200\n", |
1705 | | - "vmin2, vmax2 = 1e-6, 0.05\n", |
1706 | | - "cb1 = ax.scatter(pset_conc_ocean.lon, pset_conc_ocean.lat, c=pset_conc_ocean.plastic_amount, s=0.25, cmap=plt.cm.viridis, transform=ccrs.PlateCarree(), vmin=vmin2, vmax =vmax2, norm=matplotlib.colors.LogNorm())\n", |
1707 | | - "cb2 = ax.scatter(pset_conc_beach.lon, pset_conc_beach.lat, c=pset_conc_beach.plastic_amount, s=0.25, cmap=plt.cm.magma, transform=ccrs.PlateCarree(), vmin=vmin, vmax =vmax, norm=matplotlib.colors.LogNorm())\n", |
| 1704 | + "vmin, vmax = 1e-6, 0.05\n", |
| 1705 | + "vmin2, vmax2 = 1e-1, 200\n", |
| 1706 | + "cb1 = ax.scatter(pset_conc_ocean.lon, pset_conc_ocean.lat, c=pset_conc_ocean.plastic_amount, s=0.25, cmap=plt.cm.viridis, transform=ccrs.PlateCarree(), vmin=vmin, vmax=vmax, norm=matplotlib.colors.LogNorm())\n", |
| 1707 | + "cb2 = ax.scatter(pset_conc_beach.lon, pset_conc_beach.lat, c=pset_conc_beach.plastic_amount, s=0.25, cmap=plt.cm.magma, transform=ccrs.PlateCarree(), vmin=vmin2, vmax=vmax2, norm=matplotlib.colors.LogNorm())\n", |
1708 | 1708 | "ax.add_feature(cfeature.LAND, zorder=0, color='grey')\n", |
1709 | 1709 | "ax.set_global()\n", |
1710 | 1710 | "cbar_ax1 = ax.inset_axes(cb_axes_position)\n", |
|
0 commit comments