1. 01 Oct, 2012 3 commits
    • Peters, Wouter's avatar
      extra var needed · 68b1f882
      Peters, Wouter authored
      68b1f882
    • Peters, Wouter's avatar
      extra var needed · 522dbff1
      Peters, Wouter authored
      522dbff1
    • Peters, Wouter's avatar
      Added new aggregation routines, and expanded existing ones. The routines and their changes are: · 89844dce
      Peters, Wouter authored
      1) 1x1 fluxes
      
      Cycle fluxes are now written in cycle-by-cycle files instead of all into one file. This makes file handling easier. Also, I now 
      write the full ensemble of 1x1 fluxes to each file, resulting in much more data. The advantage is that this data can be used to post-
      aggregate to any mapping needed, including mapping of the full covariance through the ensemble.
      
      2) State fluxes
      
      State fluxes are also written per cycle for the same reasons.
      
      3) Olson fluxes
      
      mean fluxes as well as the ensemble are aggregated to 240 regions (11*19 Olson ecosystems and 30 Ocean regions)
      
      4) TransCom fluxes
      
      mean fluxes as well as the ensemble are aggregated to 23 regions. This is similar to the dedicated routine to make TransCom
      fluxes. The disadvantage is that the dedicated routine uses a staevector-to-transcom mapping which is required to be part of the 
      Statevector, whereas this is not needed for the new routine. From the ensemble, aggregated fluxes and TransCom covariance can be constructed.
      
      5) Country fluxes
      
      mean and ensemble fluxes are written for a number of large countries (USA, China, Russia, EU27, Brazil,...). This routine can in principle handle all countries of the World, but small countries get unreliable fluxes because of aggregation errors, and the uncertainty on the parameters on smaller scales.
      
      For the aggregation, several dictionary are used to map from the grid to the aggregate regions. These are pickled to make the routine faster, and provided also through SVN.
      
      
      89844dce
  2. 26 Sep, 2012 2 commits
  3. 04 Sep, 2012 3 commits
  4. 03 Sep, 2012 7 commits
  5. 31 Aug, 2012 3 commits
  6. 30 Aug, 2012 1 commit
  7. 28 Aug, 2012 1 commit
  8. 23 Aug, 2012 1 commit
  9. 10 Aug, 2012 2 commits
  10. 06 Aug, 2012 5 commits
  11. 02 Aug, 2012 1 commit
  12. 31 Jul, 2012 1 commit
    • Peters, Wouter's avatar
      An extra LoadRc is needed in Initialize() because the tm5.rc file we want to... · 248888bc
      Peters, Wouter authored
      An extra LoadRc is needed in Initialize() because the tm5.rc file we want to use is not necessarily the one that was specified on the command line when starting the cycle. This is the case in a recovery from a crash for instance, where we first replace the da_runtime.rc settings, and then we also need to tell the system that we are using a new tm5.rc file (the one in the run-directory, and not the one on the command line).
      
      248888bc
  13. 27 Jul, 2012 4 commits
  14. 25 Jul, 2012 2 commits
  15. 24 Jul, 2012 2 commits
  16. 23 Jul, 2012 2 commits
    • Peters, Wouter's avatar
      The code now compiles itself on a clean start, and then proceeds with the rest... · d270e779
      Peters, Wouter authored
      The code now compiles itself on a clean start, and then proceeds with the rest of CTDAS. The name of the tm5 rcfile is modified
      to reflect the new name and location (something like ${rundir}/tm5-tm5-ctdas-base.x). This file will be read, modified, and rewritten
      in each sample step of CTDAS. This file already contains a proper submit.command key which can be used to submit TM5 runs automatically, he script then handles the details of the queue system etcetera.
      
      To Do:
      
      - modify the Run() routines to use submit_tm5 (Ivar)
      - modify the PrepareRun() routine to make sure all needed keys are replaced in the tm5.rc file
          - such as the submit.option : -s !!!
      - test for multiple cycles
      - test with a restart option to check logic of compiling
      
      
      
      d270e779
    • Peters, Wouter's avatar
      TM5 now compiled before run · 8574e546
      Peters, Wouter authored
      8574e546