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

'No such file or directory' message is displayed while saving data to out.nc file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      Below message is displayed intermittently for some commands.

      "2014-12-12 15:16:04,468 - INFO - Saving data to out.nc
      No such file or directory:"

      If I then delete the out.nc file manually and re-run the command it works fine.

      Got the same error with this command - cis aggregate *:/group_workspaces/jasmin/cis/data/MODIS/MOD04_L2/MOD04_L2.A2010001.0430.005.2010005214606.hdf x=[-180,180,10]

      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.4', '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.4-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.4-py2.7.egg/jasmin_cis/cis.py", line 252, in main
          parse_and_run_arguments()
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.4-py2.7.egg/jasmin_cis/cis.py", line 231, in parse_and_run_arguments
          cmd(arguments)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.4-py2.7.egg/jasmin_cis/cis.py", line 198, in aggregate_cmd
          aggregate.aggregate(variable, filenames, product, kernel)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.4-py2.7.egg/jasmin_cis/aggregation/aggregate.py", line 57, in aggregate
          self._data_writer.write_data(data, self._output_file, data, True)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.4-py2.7.egg/jasmin_cis/data_io/data_writer.py", line 15, in write_data
          data.save_data(output_file, _sample_points, _coords_to_be_written)
        File "/group_workspaces/jasmin/cis/p3_testing/venv/lib/python2.7/site-packages/jasmin_cis-0.7.4-py2.7.egg/jasmin_cis/data_io/gridded_data.py", line 216, in save_data
          iris.save(self, output_file)
        File "/usr/lib/python2.7/site-packages/iris/io/__init__.py", line 370, in save
          saver(source, target, **kwargs)
        File "/usr/lib/python2.7/site-packages/iris/fileformats/netcdf.py", line 1605, in save
          with Saver(filename, netcdf_format) as sman:
        File "/usr/lib/python2.7/site-packages/iris/fileformats/netcdf.py", line 564, in __init__
          raise IOError(msg)
      IOError: No such file or directory:



        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duncan.watson-parris@physics.ox.ac.uk Duncan Watson-Parris
              Reporter:
              sandeep.kaur@tessella.com sandeep.kaur@tessella.com
              Participants:
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: