TNO Intern

Commit 8b1c876c authored by Arjo Segers's avatar Arjo Segers
Browse files

Updated plotting routines.

parent 31da271d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -333,7 +333,7 @@ The following is a demo Python code that creates an S5p/NO2 map::
    title = os.path.basename(filename)
    label = '%s [%s]' % (vname,attrs['units'])
    # create map figure (single layer):
    fig = cso.QuickMap( values[:,:,0], xx=xx, yy=yy, vmin=0.0, vmax=vmax,
    fig = cso.QuickPat( values[:,:,0], x=xx, y=yy, vmin=0.0, vmax=vmax,
                              bmp=dict(resolution='l',countries=True,domain=domain,title=title), 
                              cbar=dict(label=label), figsize=(8,6) )
    # save:
+9 −6
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@
# 2024-01, Arjo Segers
#   Use new plotting routines based on cartopy.
#
# 2025-02, Arjo Segers
#   Update of plotting routines.
#
# 2025-04, Arjo Segers
#   Updated for latest changes in CSO_Listing class.
#
@@ -503,8 +506,8 @@ class CSO_Catalogue(CSO_CatalogueBase):
                            # create map figure:
                            fig = cso_plot.QuickPat(
                                values,
                                xx=xx,
                                yy=yy,
                                x=xx,
                                y=yy,
                                vmin=vmin,
                                vmax=vmax,
                                cmap=dict(colors=colors),  # color_bad=color_nan),
@@ -858,8 +861,8 @@ class CSO_SimCatalogue(CSO_CatalogueBase):
                            # create map figure:
                            fig = cso_plot.QuickPat(
                                values,
                                xx=xx,
                                yy=yy,
                                x=xx,
                                y=yy,
                                vmin=vmin,
                                vmax=vmax,
                                cmap=dict(colors=colors, color_bad=color_nan),
@@ -1186,8 +1189,8 @@ class CSO_GriddedCatalogue(CSO_CatalogueBase):
                            # create map figure:
                            fig = cso_plot.QuickPat(
                                values,
                                xm=xm,
                                ym=ym,
                                x=xm,
                                y=ym,
                                vmin=vmin,
                                vmax=vmax,
                                cmap=dict(colors=colors),
+410 −146

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -1980,8 +1980,8 @@ class CSO_Catalogue_RegionsMaps(cso_catalogue.CSO_CatalogueBase):
                            # create map figure:
                            fig = cso_plot.QuickPat(
                                values,
                                xm=xm,
                                ym=ym,
                                x=xm,
                                y=ym,
                                vmin=vmin,
                                vmax=vmax,
                                cmap=dict(colors=colors),