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

Error while colocating single CALIOP variables

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: DummyVersion
    • Component/s: Data Product
    • Labels:
      None

      Description

      Command used - "cis col Longitude:/group_workspaces/jasmin/cis/data/caliop/CAL_LID_L1-ValStage1-V3-30/CAL_LID_L1-ValStage1-V3-30.2013-09-01T02-42-47ZN.hdf /group_workspaces/jasmin/cis/data/CMIP5/CMIP5.tm.nc:colocator=bin,kernel=mean
      "
      I tried different CALIOP variables and they all failing on the same error.

      Error displayed - "index 56175 is out of bounds for axis 0 with size 56175"

      Traceback (most recent call last):
        File "/group_workspaces/jasmin/cis/p3_testing/venv/bin/cis", line 4, in <module>
          __import__('pkg_resources').run_script('jasmin-cis==0.7.2', 'cis')
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/pkg_resources.py", line 517, in run_script
          self.require(requires)[0].run_script(script_name, ns)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/pkg_resources.py", line 1436, in run_script
          exec(code, namespace, namespace)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.2-py2.7.egg/EGG-INFO/scripts/cis", line 6, in <module>
          main()
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.2-py2.7.egg/jasmin_cis/cis.py", line 243, in main
          commands[command](arguments)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.2-py2.7.egg/jasmin_cis/cis.py", line 145, in col_cmd
          output = col.colocate(data, col_name, col_options, kern_name, kern_options)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.2-py2.7.egg/jasmin_cis/col.py", line 165, in colocate
          new_data = col.colocate(self.sample_points, data, con, kernel)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.2-py2.7.egg/jasmin_cis/col_implementations.py", line 839, in colocate
          _fix_longitude_range(coords, data_points)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.2-py2.7.egg/jasmin_cis/col_implementations.py", line 1031, in _fix_longitude_range
          data_points.set_longitude_range(range_start)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.2-py2.7.egg/jasmin_cis/data_io/hyperpoint_view.py", line 155, in set_longitude_range
          for idx, point in enumerate(self):
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.2-py2.7.egg/jasmin_cis/data_io/hyperpoint_view.py", line 99, in __iter__
          if self.non_masked_iteration and self.data is not None and self.data[idx] is np.ma.masked:
        File "/usr/lib/python2.7/site-packages/numpy/ma/core.py", line 2941, in __getitem__
          dout = ndarray.__getitem__(_data, indx)
      IndexError: index 56175 is out of bounds for axis 0 with size 56175

        Attachments

          Issue Links

            Activity

              People

              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: