Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gracefully handle file not found #12

Open
erikj opened this issue Jun 21, 2016 · 0 comments
Open

gracefully handle file not found #12

erikj opened this issue Jun 21, 2016 · 0 comments

Comments

@erikj
Copy link
Contributor

erikj commented Jun 21, 2016

error from my Vagrant box, which doesn't have NFS mounts

FileNotFoundError at /ncharts/projects/MASCRAD/surface_two

[Errno 2] No such file or directory: '/net/ftp/pub/archive/iss/mascrad/gaus/surface_two'

/vagrant/ncharts/views.py in get
                        dsetvars = dset.get_variables() ...
/vagrant/ncharts/models.py in get_variables
                    return ncdset.get_variables() ...
/vagrant/ncharts/netcdf.py in get_variables
                        end_time=self.end_time) ...
/vagrant/ncharts/netcdf.py in get_files
                    return self.fileset.scan(start_time, end_time) ...
/vagrant/ncharts/fileset.py in scan
                    return self.pdir.scan(start_time, end_time) ...
/vagrant/ncharts/fileset.py in scan
                        pstat = os.stat(self.path) ...
erikj pushed a commit that referenced this issue Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant