Coder Social home page Coder Social logo

rilma / pyhwm14 Goto Github PK

View Code? Open in Web Editor NEW
40.0 5.0 12.0 2.68 MB

Python interface for the Horizontal Wind Model 2014 (HWM14)

License: MIT License

Python 48.75% Fortran 50.99% Makefile 0.26%
atmosphere atmospheric-modelling atmospheric-sciences model f2py

pyhwm14's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @rilma
  • ๐Ÿ‘€ Iโ€™m interested in ... Data & Software Engineering
  • ๐ŸŒฑ Iโ€™m currently learning ... Go & Rust
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on ... Distributed Systems
  • ๐Ÿ“ซ How to reach me ... through Github

pyhwm14's People

Contributors

rilma avatar scivision avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pyhwm14's Issues

Problems with the binary file hwm123114.bin

Hi! I followed the installation available in the Readme and got the pyhwm2014 module installed on my computer. When I import pyhwm2014 on Python (version 3.8), no error appears. However, following the testing you provide in the Readme (coverage run tests/test.py -v), I get an error saying:
image

However, the file hwm123114.bin can be found in the data folder.

I also tried the other example in the Readme running it from Python.
image

I get a similar problem related to the file hwm123114.bin, now saying this:
image

It looks like there is a problem with the hw14.f90 source file. I tried with the last release (2017), the master branch and the version 0.02 and the same happens.

ImportError: DLL load failed while importing hwm14: The specified module could not be found.

Hi, I'm having some trouble getting the module working. I've tried both the pip install and install from source code methods in python 3.10 and python 3.8. Every time the install process runs fine, but when I try the test it gives the following error.

======================================================================
ERROR: test (unittest.loader._FailedTest)

ImportError: Failed to import test module: test
Traceback (most recent call last):
File "C:\Users\mouse\anaconda3\envs\test\lib\unittest\loader.py", line 436, in _find_test_path
module = self._get_module_from_name(name)
File "C:\Users\mouse\anaconda3\envs\test\lib\unittest\loader.py", line 377, in get_module_from_name
import(name)
File "C:\Users\mouse\pyHWM14\tests\test.py", line 2, in
from pyhwm2014 import HWM14
File "C:\Users\mouse\pyHWM14\pyhwm2014_init
.py", line 7, in
from . import hwm14
ImportError: DLL load failed while importing hwm14: The specified module could not be found.

In the folder "C:\Users\mouse\pyHWM14\pyhwm2014" there is a file called "hwm14.cp38-win_amd64.pyd" (and a corresponding cp310 file from the python 3.10 install). I think this is the file it should be looking for at this point? But I'm not sure why it's having this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.