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

GASSP: InvalidVariableError: There is no variable for the time co-ordinate 'Time'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: DummyVersion
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 8, Sprint 9

      Description

      This is likely a CIS issue. The product does contain a time axis.

      cis info level_1_2/ARCTAS/ARCTAS_CPC_RF19_20080703_r2ict_apr2012.nc

      gives:
       59 Traceback (most recent call last):
       60 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/data_io/products/AProduct.py", line 199, in get_variables
       61 variables = product_cls().get_variable_names(filenames)
       62 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/data_io/products/NCAR_NetCDF_RAF.py ", line 435, in get_variable_names
       63 selector = self._load_data_definition(filenames)
       64 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/data_io/products/NCAR_NetCDF_RAF.py ", line 303, in _load_data_definition
       65 variable_selector = self.variableSelectorClass(attributes, variables_list, variable_dimensions)
       66 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/data_io/products/NCAR_NetCDF_RAF.py ", line 95, in __init__
       67 self.time_variable_name = self._get_coordinate_variable_name(self.TIME_COORDINATE_NAME, "time")
       68 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/data_io/products/NCAR_NetCDF_RAF.py ", line 136, in _get_coordinate_variable_name
       69 .format(coordinate_display_name, variable_name))
       70 InvalidVariableError: There is no variable for the time co-ordinate 'Time'
       71
       72 Traceback (most recent call last):
       73 File "/group_workspaces/jasmin/cis/cis_dev_venv/bin/cis", line 6, in <module>
       74 main()
       75 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/cis.py", line 305, in main
       76 parse_and_run_arguments()
       77 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/cis.py", line 284, in parse_and_run _arguments
       78 cmd(arguments)
       79 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/cis.py", line 109, in info_cmd
       80 info(filename, variables, data_type)
       81 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/info.py", line 52, in info
       82 valid_vars = get_variables([filename])
       83 File "/group_workspaces/jasmin/cis/cis_dev_venv/lib/python2.7/site-packages/jasmin_cis/data_io/products/AProduct.py", line 205, in get_variables
       84 % (product_cls.__name__, type(e).__name__, e.message), e)
       85 jasmin_cis.data_io.products.AProduct.ProductPluginException: An error occurred retrieving variables using the product NCAR_N etCDF_RAF. Check that this is the correct product plugin for your chosen data. Exception was InvalidVariableError: There is no variable for the time co-ordinate 'Time'.

      This also occurs for other products (GASSP/level_1_2):
      INDOEX/INDOEX_CPC_RF08_0304_plus.nc
      INTEX-A/INTEX-A_CPC_RF09_dc8_20040718_plus.nc
      MIRAGE/MIRAGE_CCN_20060326.172000_193900.PNI_plus.nc
      PASE/PASE_CCN_20070901.192000_031500.PNI_plus.nc
      PEMTA/PEMTA_CPC_RF10_p3b_19960831_plus.nc
      PEMTB/PEMTB_CPC_RF08_p3b_19990317_plus.nc
      VOCALS/VOCALS_CPC_20081111.125000_214500.PNI.nc

        Attachments

          Activity

            People

            Assignee:
            schutgens@atm.ox.ac.uk Nick Schutgens
            Reporter:
            schutgens@atm.ox.ac.uk Nick Schutgens
            Participants:
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: