Comments (1)
I know why this is happening - you're assuming the periods.bin
file exists in the model static data directory, and trying to copy it. If it doesn't exist, which is the case for PiWind, it throws an error. The copy should be conditional as is the case with oasis_model_runner_utils.py
used in the MDK repo.
model_data_periods_file_path = os.path.join(rdp, 'static', 'periods.bin')
if os.path.exists(model_data_periods_file_path):
shutil.copy2(model_data_periods_file_path, os.path.join(rdp, 'input'))
from oasislmf.
Related Issues (20)
- pandas 2.0.0 error using "oed_fields" in analysis settings HOT 2
- Document oasislmf.json configuration options
- Duplicate summary_ids in outputs
- Move FM file generation from losses to input generation.
- Duplicate group_ids break gulcalc HOT 2
- Parquet file generation is missing schema file HOT 3
- Numba 0.57 breaks fmpy HOT 2
- Builtin lookup breaks with Pandas 2.0.0+ HOT 1
- Create github actions script to manage backporting
- Fixed incorrect pltcalc flag - 1.15.27
- Support for pandas 2
- Parquet format summary info file
- Multiple footprint file options
- Add platform client unit tests
- Assignment of loc_id and idx is not unique when using an EPA to split locations across more rows HOT 3
- Remove the GPG signature upload from the publish workflow
- Update release section on Readme
- Enhance pre-analysis hook
- Add post-analysis hook HOT 3
- Step policies: Allow BI ground up loss through to gross losses HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oasislmf.