Open dogevspenguin opened 4 months ago
45 minutes is almost always too long of a timestep for T42. Try dropping it to 15 minutes. Also, I don't recommend using fewer layers than the default 10; 10 layers has a predefined vertical tuning structure that tends to be well-behaved, while there is no prescribed hyperdiffusion for 7 layers, which will make the model more prone to numerical instability.
Hi thanks for the fix, but now, It seems that I cannot run with any storm climatologies, as it will crash, the error is the same, floating point error
import exoplasim as exo
T =exo.Model(workdir="T2",modelname="T2",inityear=0,outputtype=".nc",ncpus=16,precision=8,resolution="T42",crashtolerant=True,layers=10)
T.configure(startemp=5772.0,flux=1367.0,
year=365.25,eccentricity=0.016715,obliquity=23.441,lonvernaleq=102.7,fixedorbit=True,
rotationperiod=1.0,
gravity=9.80665,radius=1.0,
wetsoil=False,seaice=True,oceanzenith="ECHAM-3",
landmap="SRA/T_surf_0172.sra",topomap="SRA/T_surf_0129.sra",
pressure=1.0,gascon=287.0,drycore=False,ozone=False,
pH2=0.0,pHe=0.0,pN2=0.7809,pO2=0.2095,pAr=0.0093,pNe=0.0,pKr=0.0,pH2O=0.0,pCO2=0.0003,
glaciers={'toggle': True,'mindepth': 2.0,'initialh': -1.0},
timestep=15.0,runsteps=35064,otherargs={'NSTPW@plasim_namelist':'480'},stormcapture={'toggle': 1,'NKTRIGGER': 1},highcadence={'toggle': 1,'start': 320,'interval': 4,'end': 576},stormclim=True)
T.exportcfg()
T.runtobalance(threshold=0.0005,baseline=10,maxyears=100,minyears=10,crashifbroken=True,clean=True)
T.finalize("T2",allyears=False,keeprestarts=False,clean=True)
So after I ran T21, I decided that it was too blurry So I made the .sra file again, this time for T42, And after running for about 1 year, It crashes. I generated the height map in BMP format using Torben's planet map generator, Then Converted bmp to png, then using https://github.com/OstimeusAlex/ExoPlaSim-InCon I was able to generate the .py file and the .sra files
The code
And the error