Giter Club home page Giter Club logo

3da_code's Introduction

🌍️DESCRIPTION OF FOLDERS:
/data/OCCIPUT/        : the extracted 50-member OCCIPUT simulation at GoM
/data/obs/            : the extracted real tracks position and time of the altimeters in 2004. 
                        It also saves the truth and the SSH along-tracks after you run get_obs.py
/data/catalog/        : is used to save the catalog for AnDA
/data/results/AnDA/   : is used to save the results of the last run of AnDA 
/data/results/OI/     : is used to save the results of the last run of OI
/data/results/OI_COA/ : is used to save the results of the last run of OI_COA (following the OI described in <LeTraon et.al. 1998> )
/figs/                : saves all the diagnostic figs. 



🌍️DESCRIPTION OF EXISTING RESULTS:
/data/results/AnDA_k1000_ROI10/  : the result of AnDA where k=1000, and spatial localization radius = 10 degress 
/data/results/OI_6/              : the result of OI where temporal correlation scale = 6 days 
/data/results/OI_10/             : the result of OI where temporal correlation scale = 10 days 
/data/results/OI_15/             : the result of OI where temporal correlation scale = 15 days 





🌍️DESCRIPTION OF PARAMETERS:

🌐️AnDA:
max_mode                  : number of EOFs used in the state variables
do_KS                     : "yes"---do Kalman smoother, "no"---only Kalman filter
Ne                        : ensemble size for EnKF and EnKS
R                         : observation error variance for EnKF
do_localization           : "yes"---do covariance spatial localization for EnKF and EnKS, "no"---no localization    
rloc                      : localization radius for covariance spatial localization used in EnKF and EnKS
AF_k                      : number of nearest neighbors to be search for in the Analog forecast algorithm 

🌐️OI:
r_spat           
s_spat
r_temp
s_temp  : temporal correlation scale
R       : observation error variance used in the algorithm




🌍️RUN THE CODE:

1,   run get_obs.py:  generate the truth using OCCIPUT member#1 at year 20, and the ssh at the given tracks at the given time

2,   run get_catalog.py: generate the catalog using OCCIPUT members#2-50, from year 1 to 19 

3.1, choose the parameters of AnDA, OI, and OI_COA by editting main_AnDA.py, main_OI.py, and main_OI_COA.py
3.2, run main_AnDA.py, or main_OI.py, or main_OI_COA.py. The new results will be saved in /data/results/AnDA/, /data/results/OI/, and /data/results/OI_COA/

4,   run generate_figs.py to generate all the figs and check the RMSE. You will see all the figs in this paper except the two spectrum figs produced by Sammy. 

3da_code's People

Contributors

zhenyicun avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

3da_code's Issues

预输入参数的相关问题

您好!十分感谢您提供的代码和相关资料的支持,详细研读之后还有几个问题存疑,希望您能予以解答,不胜感激!

1.您在论文里提到调整参数后OI插值的最小RMSE为1.77(第1703页),但是使用您提供的代码运行之后,最小值为0.024,请问应该以哪个为准,他们之间有什么其他的处理步骤或者差别吗?
2.预输入参数对于OI的影响很大,我做了一点参数优化处理,但是效果并不理想,请问您当初是怎么确定的预输入参数,有什么相关的资料可以分享一下吗?

Questions about several parameters in the code

Hi! After reading your paper and code, I still have some questions about several parameters. I hope you can answer them. Thank you very much!

  1. What is the meaning of Loc_H and R_obs in get_obs code, and is there a reference threshold range for these values?

  2. What is the meaning of r_spat and s_spat in the main_OI code?

R_obs & R

Hello, Prof. Zhen!
I have a question.The parameters of R_obs and R which you have mentioned in your previous comment both means observational error variances, do they mean the same thing? If not,what's the difference between them? Thanks for your reply!

Issues in code main_OI

Hello! After reading your code and paper in detail,we still have the following questions. Hope you can give us some answers:
In lines 121 and 122 of the code main_OI:

`BH_tmp=find_BH(lon1[ix:ix+1]0,lat1[ix:ix+1]0,time_true[it_neighbor_tmp],lon_at_tmp0,lat_at_tmp0,time_at_tmp,s_spat,s_temp)

HBH_tmp=find_HBH(lon_at_tmp0,lat_at_tmp0,time_at_tmp,lon_at_tmp0,lat_at_tmp0,time_at_tmp,s_spat,s_temp)`

  1. Why the value of LON and LAT multiplied by 0 here, is it only considering the temporal factor but not considering the spatial factor?
  2. If we want to consider the spatial factor, how to modify the code?
  3. In line 122, why are parameters (1,4),(2,5) and(3,6)entered with the same value?
    4.Do the calculation of space and time factors correspond to the interpretation of B[xi(T1), xj(T2)] in formula (11) in the paper?

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.