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

trying to use the comand line tool but I getting a error #4

Open
fsvieira opened this issue Aug 12, 2013 · 4 comments
Open

trying to use the comand line tool but I getting a error #4

fsvieira opened this issue Aug 12, 2013 · 4 comments

Comments

@fsvieira
Copy link

I am trying to use the command line tool, I tried the ui tool and it works perfect but when I try the command line tool I get this error:

../../LSASAF-georeferencer/georef_hdf5.py -o test/ -v HDF5_LSASAF_MSG_LST_Euro_201303030245
INFO:root:Starting execution...
DEBUG:root:georefsDir: test/georefs
DEBUG:root:warpedDir: test/
DEBUG:root:projectionString: +init=epsg:4326
DEBUG:root:fileList: ['HDF5_LSASAF_MSG_LST_Euro_201303030245']
DEBUG:root:Creating directory: test/
DEBUG:root:Creating directory: test/georefs
DEBUG:root:Processing file HDF5_LSASAF_MSG_LST_Euro_201303030245...
DEBUG:H5Georef:lon: -2.64505261571
DEBUG:H5Georef:lat: 58.7456182082
Traceback (most recent call last):
File "../../LSASAF-georeferencer/georef_hdf5.py", line 95, in
options.projectionString)
File "../../LSASAF-georeferencer/georef_hdf5.py", line 65, in main
samples = h5g.get_sample_coords()
File "/mnt/data/scripts/lst_projecto/LSASAF-georeferencer/h5georef.py", line 115, in get_sample_coords
easting, northing = self._get_east_north(lon, lat)
File "/mnt/data/scripts/lst_projecto/LSASAF-georeferencer/h5georef.py", line 130, in _get_east_north
os.chdir(os.path.dirname(self.h5FilePath))
OSError: [Errno 2] No such file or directory: ''

@ricardogsilva
Copy link
Owner

Hello
Thanks for the bug report. I am currently on holiday (visiting the Azores archipelago). I'll be back in the beginning of September. I'll take a look at it then.

Best regards

@allo0
Copy link

allo0 commented Sep 22, 2020

Same problem here.
Do we have any update on the issue?

@ricardogsilva
Copy link
Owner

Hi @allo0

This is an old project, which I've not been able to maintain, since I'm no longer working with LSASAF data.

I've been meaning to give it an update since some years now, but still haven't gotten around to doing it. Unfortunately I cannot promise you any date for when it might be updated.

I suggest you get in contact with the LSASAF team about your use case. They'll likely help you out more promptly.

@allo0
Copy link

allo0 commented Sep 22, 2020

@ricardogsilva
Found a temporary workaround.
Just commenting out the os.chdir(os.path.dirname(self.h5FilePath))
in the h5georef.py line 130, did the trick

       oldDir = os.getcwd()
       # os.chdir(os.path.dirname(self.h5FilePath))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants