cam-b04 / producing-realistic-climate-data-with-gans Goto Github PK
View Code? Open in Web Editor NEWAssociated repository to the article Producing realistic climate data (10.5281/zenodo.4436274)
Associated repository to the article Producing realistic climate data (10.5281/zenodo.4436274)
Hi,
I would like to raise a second issue regarding writing the simulated climate data into a file. Basically, I am thinking if I can use your code to train a model based on our climate data and write the simulated climate ensembles to a file.
It seems the code
wgan.train(epochs=5, save_interval=4, save_file='test',
run_name='run_test', log_interval=10, log_file='test',
data_generator=None, save_intermediate_model=True)
is able to train a wgan
but I am wondering if I can run something like wgan.simulate(<num_of_ensembles>, <output file name>)
.
Best regards,
Jian
When running the 3rd step, installing the dependencies pip install -r requirements.txt
, it output the following error message:
Collecting absl-py==1.0.0
Downloading absl_py-1.0.0-py3-none-any.whl (126 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.7/126.7 kB 3.7 MB/s eta 0:00:00
Collecting argon2-cffi==21.3.0
Downloading argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting argon2-cffi-bindings==21.2.0
Downloading argon2_cffi_bindings-21.2.0-cp38-abi3-macosx_10_9_universal2.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.1/53.1 kB 3.2 MB/s eta 0:00:00
Collecting astor==0.8.1
Downloading astor-0.8.1-py2.py3-none-any.whl (27 kB)
Collecting attrs==21.4.0
Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 3.5 MB/s eta 0:00:00
Collecting backcall==0.2.0
Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting beautifulsoup4==4.11.1
Downloading beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.2/128.2 kB 6.8 MB/s eta 0:00:00
Collecting bleach==5.0.0
Downloading bleach-5.0.0-py3-none-any.whl (160 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.3/160.3 kB 8.5 MB/s eta 0:00:00
Collecting Cartopy==0.20.2
Downloading Cartopy-0.20.2.tar.gz (10.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.8/10.8 MB 34.3 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
setup.py:117: UserWarning: Unable to determine GEOS version. Ensure you have 3.7.2 or later installed, or installation may fail.
warnings.warn(
Proj 8.0.0 must be installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
My operating system is MacOS 12.2 and python version is 3.9.13.
Hi,
Could you please solve the issue ''OSError: Unable to open file (unable to open file: name = '../../Puma_Project/data/raw/T42_plasim_100y_10lay_scaled.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)''
Its looking for a file.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.