Skip to content

Importing s5a on Windows #28

Description

@sehHeiden

It is not quite simple to install s5a on windows, because it uses h3. After a long time of attempting to install h3 on windows and than s5a.

I wanted to start and try out s5a and found the error:

caused by:

import s5a

Error:

OSError Traceback (most recent call last)

in
5 import pandas as pd
6 import certifi
----> 7 import s5a
8

~\Anaconda3\envs\Sentinel5\lib\site-packages\s5a_init_.py in
10 import numpy
11 import pandas
---> 12 from h3 import h3
13
14

~\Anaconda3\envs\Sentinel5\lib\site-packages\h3\h3.py in
41 '{}/{}'.format(_dirname, 'out/libh3.so.1')))
42
---> 43 libh3 = cdll.LoadLibrary(libh3_path)
44
45 # Type of an H3 index

~\Anaconda3\envs\Sentinel5\lib\ctypes_init_.py in LoadLibrary(self, name)
440
441 def LoadLibrary(self, name):
--> 442 return self._dlltype(name)
443
444 cdll = LibraryLoader(CDLL)

~\Anaconda3\envs\Sentinel5\lib\ctypes_init_.py in init(self, name, mode, handle, use_errno, use_last_error)
362
363 if handle is None:
--> 364 self._handle = _dlopen(self._name, mode)
365 else:
366 self._handle = handle

OSError: [WinError 126] Das angegebene Modul wurde nicht gefunden

Meaning that the module was not found. I already was so far not to use s5a at all and only use netCDF, but I can't really find the data in that file...

In found the keys in nc.groups['PRODUCT'].variables

But I am unable to find the data so far...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions