Giter VIP home page Giter VIP logo

Comments (7)

jhamman avatar jhamman commented on May 31, 2024

I agree this would be nice feature.

@tbohn, do you have any thoughts on how this would work with the solar rad calc in mtclim? Is mtclim tied to the standard gregorian calendar?

I've slated this for 5.0 but could be included in 4.2.

from vic.

tbohn avatar tbohn commented on May 31, 2024

Actually, it wouldn't be too hard to implement. The solar rad stuff in mtclim_vic.c is done for a generic 366-day year (actually, 365-day, but with day 365 repeated). Communication between VIC and MTCLIM involves VIC telling MTCLIM which days of the year it wants. So, if you implement a NO_LEAP option in VIC proper, it wouldn't require messing with MTCLIM. At least I don't think so.

from vic.

mrstu avatar mrstu commented on May 31, 2024

This would be imminently helpful.

from vic.

tbohn avatar tbohn commented on May 31, 2024

@mrstu, do you think you might be able to take a crack at this?

from vic.

mrstu avatar mrstu commented on May 31, 2024

Yeah, it looks like a good opportunity to cut my teeth.

from vic.

jhamman avatar jhamman commented on May 31, 2024

@mrstu
It may be good take a look at the calendar implementations in the Python-netCDF4 package: https://code.google.com/p/netcdf4-python/source/browse/trunk/netcdftime.py. There's some extra stuff in there for conversion but it includes formulations for all the CF calendars. Standard and noleap are pretty straightforward but its always good to have a reference.

from vic.

jhamman avatar jhamman commented on May 31, 2024

closed via #188.

from vic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.