Uploaded image for project: 'JASMIN CIS'
  1. JASMIN CIS
  2. JASCIS-55

overlay plots should handle trivial unit conversions

    Details

    • Type: Story
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: Plotting
    • Labels:
      None

      Description

      For example, if I try to overlay two vertical profiles, where one dataset has altitude defined in metres and the other on kilometres, CIS ought to handle the conversion of one to the other so that the two are plotted on the same axes correctly.

      At present, overlaying data in kilometres on top of data in metres ends up with all of the former squashed at the bottom of the plot -- presumably because the numeric data is erroneously assumed to have the same units as in the first dataset.

      cis plot mass_fraction_of_black_carbon_dry_aerosol_in_air:xhhmda.pmk9jan.vprof.mmr.nc:product=UM2NC,type=heatmap,transparency=0 mass_fraction_of_black_carbon_dry_aerosol_in_air:NOAA_SP2_HIPPO1_data_plus_minute_mr240_inflated.cf.nc:product=NetCDF_CF_Gridded,type=scatter,transparency=0 --type overlay --itemwidth=25 --xaxis latitude --yaxis altitude --ymin 0 --ymax 15000 --logv --vmin 1e-14 --vmax 1e-10

      Data files in /group_workspaces/jasmin/cis/bug_test_cases

      Note that my UM2NC plugin is required for the first dataset to get its "altitude" auxiliary coordinate.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              duncan.watson-parris@tessella.com Duncan Watson-Parris (Inactive)
              Participants:
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: