derpycode / cgenie.muffin Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Seem that Python code in cgenie.muffin is python27 code.
Python3 is newer and more popular.
At the moment cGENIE is not free. Is there a licence intended but missing?
Hello! cgenie.muffin novice here. I've managed to cobble together a simulation for RCP 2.6. I'd like to see what would happen to the global DIC if I injected around 10,000 tons of DIC and Ca into a specific grid index for a year. Do you know how I could go about doing that?
What I've done so far:
biogem_force_flux_ocn_Ca_sig.dat
and biogem_force_flux_ocn_DIC_sig.dat
, both of which have the following:-START-OF-DATA-
0.0 0.0
2030.0 0.0
2030.0 10000
2031.0 10000
2031.0 0
999999.9 0.0
-END-OF-DATA-
configure_forcings_ocn.dat
into RCP_MOD with the following:
00 01 02 03 04 05 06 07 08 09
\/ \/ \/ \/ \/ \/ \/ \/ \/ \/
-START-OF-DATA-
03 f f 0.1 T T 0 22 11 16 '[dissolved inorganic carbon (DIC) (mol kg-1)]'
35 f f 0.1 T T 0 22 11 16 '[Ca (mol kg-1)]'
-END-OF-DATA-
/\ /\ /\ /\ /\ /\ /\ /\ /\ /\
00 01 02 03 04 05 06 07 08 09
DATA FORMAT AND ORDER
---------------------
COLUMN #00: TRACER NUMBER
COLUMN #01: include restoring forcing of tracer? [DATA FORMAT: 'T'/'F' ('t'/'f')]
COLUMN #02: restrict restoring forcing to surface? [DATA FORMAT: 'T'/'F' ('t'/'f')]
COLUMN #03: time constant of restoring forcing (years) [DATA FORMAT: real]
COLUMN #04: include flux forcing of tracer? [DATA FORMAT: 'T'/'F' ('t'/'f')]
COLUMN #05: scale flux forcing of tracer? [DATA FORMAT: 'T'/'F' ('t'/'f')]
COLUMN #06: make forcing uniform over this dimension (3 == 3D, 2 == 2D, 0 == point, -1 == SURFACE, -2 == BENTHIC, ELSE spatially explicit forcing) [DATA FORMAT: interger]
COLUMN #07: i grid location of point forcing [DATA FORMAT: interger]
COLUMN #08: j grid location of point forcing [DATA FORMAT: interger]
COLUMN #09: k grid location of point forcing [DATA FORMAT: interger]
COLUMN END: TRACER DESCRIPTION
bg_par_ocn_force_scale_val_3=22722.1086116792
and bg_par_ocn_force_scale_val_35=22722.1086116792
However, after doing all of this and running RCP_MOD, I strangely get less global DIC when I look at biogem_series_ocn_DIC.res
. Do you know why this would be the case? Is this because adding a forcing flux will override the existing flux calculated from the simulation instead of adding onto the existing flux? Any advice on how I should go about trying to accomplish my goal?
I'll attach all of the files I reference. If you made it this far, thanks for even taking the time to read this over!
rcp2p6_config_file.SPIN.txt
rcp2p6_forcing_files.zip
rcp2p6_mod_config_file.SPIN.txt
rcp2p6_mod_forcing_files.zip
rcp2p6_mod_simulation_results.SPIN.zip
rcp2p6_simulation_results.SPIN.zip
I have been working to compile cgenie.muffin for sometime and no matter what I do I get the following error:
genie.F(333): error #6366: The shapes of the array expressions do not conform.
latent_ocn=latent_ocn+surf_latent_atm
---------------------------------------^
genie.F(334): error #6366: The shapes of the array expressions do not conform.
sensible_ocn=sensible_ocn+surf_sensible_atm
-------------------------------------------^
genie.F(335): error #6366: The shapes of the array expressions do not conform.
netsolar_ocn=netsolar_ocn+netsolar_atm
-------------------------------------------^
genie.F(336): error #6366: The shapes of the array expressions do not conform.
netlong_ocn=netlong_ocn+netlong_atm
-----------------------------------------^
genie.F(339): error #6366: The shapes of the array expressions do not conform.
evap_ocn=evap_ocn+evap_atm
-----------------------------------^
genie.F(340): error #6366: The shapes of the array expressions do not conform.
precip_ocn=precip_ocn+precip_atm
---------------------------------------^
genie.F(341): error #6366: The shapes of the array expressions do not conform.
runoff_ocn=runoff_ocn+land_runoff_atm
---------------------------------------^
genie.F(342): error #6366: The shapes of the array expressions do not conform.
ocean_stressx2_ocn=ocean_stressx2_ocn+surf_stressx2_atm
-------------------------------------------------------^
genie.F(343): error #6366: The shapes of the array expressions do not conform.
ocean_stressy2_ocn=ocean_stressy2_ocn+surf_stressy2_atm
-------------------------------------------------------^
genie.F(344): error #6366: The shapes of the array expressions do not conform.
ocean_stressx3_ocn=ocean_stressx3_ocn+surf_stressx3_atm
-------------------------------------------------------^
genie.F(345): error #6366: The shapes of the array expressions do not conform.
ocean_stressy3_ocn=ocean_stressy3_ocn+surf_stressy3_atm
-------------------------------------------------------^
genie.F(346): error #6366: The shapes of the array expressions do not conform.
go_solfor=go_solfor+solfor_atm
-------------------------------------^
genie.F(375): error #6366: The shapes of the array expressions do not conform.
insolar_sic=insolar_sic+insolar_atm
-----------------------------------------^
genie.F(376): error #6366: The shapes of the array expressions do not conform.
inlong_sic=inlong_sic+inlong_atm
---------------------------------------^
genie.F(377): error #6366: The shapes of the array expressions do not conform.
netheat_sic=netheat_sic+netheat_atm
-----------------------------------------^
genie.F(378): error #6366: The shapes of the array expressions do not conform.
surft_atm_sic=surft_atm_sic+surft_atm
---------------------------------------------^
genie.F(379): error #6366: The shapes of the array expressions do not conform.
surfq_atm_sic=surfq_atm_sic+surfq_atm
---------------------------------------------^
genie.F(380): error #6366: The shapes of the array expressions do not conform.
surfp_atm_sic=surfp_atm_sic+surfp_atm
---------------------------------------------^
genie.F(381): error #6366: The shapes of the array expressions do not conform.
surf_windspeed_sic=surf_windspeed_sic+surf_windspeed_atm
-------------------------------------------------------^
I've tried building with two versions of ifort
:
ifort (IFORT) 18.0.1 20171018
- and -
ifort (IFORT) 19.1.3.304 20200925
but both fail at the same spot.
There is need of create Python/r or some free language program to create input files for
cgenie, because all users does not have Matlab.
Hi
Is there a Linux virtual machine or Docker containerised version of cgenie
available, or a set of build instructions for it?
I'm trying to evaluate how Docker containers might be used to support various applications in a distance education setting and a colleague tipped me off to this application as one that would be handy to try out for a course they're involved with...
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.