Comments (4)
I think in Exeter we are all running a 360-day calendar, or planets with a totally different calendar, and so haven't explored this issue - but it's a good point! From a quick look at the source code I think run length is just set in days, hours and seconds in main_nml
and I can't see a quick option to change this, so the best bet is likely to do it via the python wrapper.
I don't know exactly how you configure your runs, here we usually run a month, output, run the next month etc. as per the examples in Isca/exp/
. If you're using that approach and you want output files to contain single Julian calendar months or years, my suggestion would be to add a loop in the python runscript that alters the run length based on which year you are running using e.g. the isleap()
or monthrange()
methods from the calendar
module.
So specifically, I'd set up the code to alter the value of days
in main_nml
based on the year and/or month being run.
If you do get something of that kind coded up, that could be a nice example to add to the codebank or a README somewhere.
Hope that helps!
from isca.
I agree with @RuthG that there is not an obvious answer for this. One additional suggestion would be to, instead of running for 1 month at a time, run 4 years at a time. That way you'll get 3x 365 day and 1 x 366 day years in each file. Then you can split them up by year afterwards using something like cdo?
from isca.
I could get an example coded up sometime during the summer (sorry swamped with deadlines over the next two weeks).
The reason why I'm asking though, is because I'm writing a Julia package IscaTools.jl that analyzes Isca output and uses calendar features to determine how to analyse the output (monthly, yearly averages when output is daily/sub-daily) and does some analysis and calculations.
I generally use the "NO_CALENDAR"
option myself, generally because that's what I grew up with (in a modelling sense) with the GFDL version of FMS at Caltech.
from isca.
The analysis package sounds great!
And of course, no rush, thanks for doing that too. I think we've got a resolution here so I'll close this for now.
from isca.
Related Issues (20)
- Consistency in input file names and input field names
- Topography to be done in geopotential or true height? HOT 8
- fail to build on Mac OS (via py.test or otherwise) HOT 5
- Vertical levels setup HOT 8
- Segmentation fault - invalid memory reference HOT 2
- Seg faults and nml errors when model is compiled with gfortran
- Using ISCA without Python HOT 1
- This module file was not generated by any release of this compiler. HOT 1
- Isca compiling error: ld: cannot find -lmpifort
- Deprecation of distutils config files HOT 1
- Tidying Up Docs HOT 1
- Compile Errors with GCC version 10> HOT 2
- Compiling issue HOT 2
- Main front-page Readme should be updated with up-to-date installation instructions HOT 2
- gfortran float to integer type conversion problems HOT 2
- x86_64-conda-linux-gnu-cc can't find liblto_plugin.so on Ubuntu HOT 3
- Min/Max Time Averaging
- Compile issue, error with make HOT 2
- sh 2.0.0 breaks Isca installation HOT 3
- utime no longer a class in cftime
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 isca.