-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPAS refactor notes #753
Comments
In compute_u_with_rbf there is a loop around ens_size, for whole ensemble == last value from the loop. DART/models/mpas_atm/model_mod.f90 Lines 6214 to 6226 in e218864
|
todo can be different across the ensemble DART/models/mpas_atm/model_mod.f90 Lines 6183 to 6192 in e218864
|
on_bound? not used DART/models/mpas_atm/model_mod.f90 Line 4871 in e218864
DART/models/mpas_atm/model_mod.f90 Lines 4930 to 4938 in e218864
|
find_vert_indices is a wrap around find_vert_level. Remove DART/models/mpas_atm/model_mod.f90 Line 6030 in e218864
|
convert_vert_distrib_state (state) super repetitive & according to this comment state is calling the interpolation anyway: DART/models/mpas_atm/model_mod.f90 Lines 4968 to 4972 in e218864
|
If rbf is depricated 11 years ago, possibly it is time to remove the code? DART/models/mpas_atm/model_mod.f90 Line 119 in e218864
note see comment on incorrect rbf calulcaiton. |
Is the rbf code depricated #753 (comment)
Shells scripts are out of date, user complaints about cycling. Lots of csh (poor). Documentation is poor, also points people to this MPAS page which sends people to none existent documentation (https://svn-dares-dart.cgd.ucar.edu/) |
Nope: DART/models/mpas_atm/model_mod.f90 Line 188 in e218864
DART/models/mpas_atm/model_mod.f90 Line 285 in e218864
DART/models/mpas_atm/model_mod.f90 Lines 551 to 552 in e218864
Note, beware of whatever the regional stuff is doing. Seems like some bizarre choices here. DART/models/mpas_atm/model_mod.f90 Lines 2097 to 2098 in e218864
more nope: DART/models/mpas_atm/update_bc.f90 Lines 100 to 102 in e218864
|
update_bc.f90 is calling |
why is this compile time, rather than runtime: DART/models/mpas_atm/model_mod.f90 Lines 238 to 243 in e218864
|
oh |
|
model size needs to be i8: DART/models/mpas_atm/model_mod.f90 Line 455 in e218864
|
currently unused (11 years). Not needed for regional? Or should be used? DART/models/mpas_atm/model_mod.f90 Lines 477 to 480 in e218864
|
This data on edge logic seems overcomplicated DART/models/mpas_atm/model_mod.f90 Lines 464 to 475 in e218864
variable dimension tells you edge vs cell, .e.g
|
"causes mpas namelists to be read" - does not appear to be true DART/models/mpas_atm/model_mod.f90 Lines 603 to 606 in e218864
|
This comment, not sure what it is getting at: DART/models/mpas_atm/model_mod.f90 Lines 843 to 845 in e218864
|
boundary domain variables do not get bounds for clamping: DART/models/mpas_atm/model_mod.f90 Lines 856 to 858 in e218864
|
see comment #753 (comment) Remove not used variables: add_static_data_to_diags - not used ew_boundary_type, ns_boundary_type -not used Shortened some very verbose comments.
DART/models/mpas_atm/model_mod.f90 Lines 7481 to 7488 in e218864
|
#753 (comment) removed done todo comment
DART/models/mpas_atm/model_mod.f90 Line 169 in e218864
called but value unused in update_bc ? DART/models/mpas_atm/update_bc.f90 Line 105 in e218864
|
Hardcoded domain id: DART/models/mpas_atm/update_bc.f90 Lines 110 to 113 in e218864
|
serial loop around files for update bc: DART/models/mpas_atm/update_bc.f90 Line 122 in e218864
|
write model time overloaded DART/models/mpas_atm/model_mod.f90 Lines 506 to 509 in e218864
|
is_global_grid Only used by mpas_dart_obs_preprocess, then DART/models/mpas_atm/mpas_dart_obs_preprocess.f90 Line 1013 in e218864
|
|
serial loop around files for update_mpas_states DART/models/mpas_atm/update_mpas_states.f90 Lines 92 to 96 in e218864
no dependencies in the loop? - run multiple update_mpas_states in parallel. update_mpas_states is just a copy of netcdf variables from one file to another, except for wind. Maybe have 2 arguments, then you can run multiple update_mpas_state programs at once. |
progvar is removed and replaced with state structure. Notes on done/not done routines I'm concerned about update_bc and update_mpas_states hard coding domains and using read_variables directory.
|
todo docs:
|
oncenters is not binary (3 choices) find_vert_indices -> find_vert_level( ..., oncenters=.true., ...) the logic for oncenters is a bit weird to be passing all the way down the call tree. Here it is hardcoded .true. for pressure otherwise .false. DART/models/mpas_atm/model_mod.f90 Lines 6136 to 6157 in e218864
but oncenters ignored for pressure: DART/models/mpas_atm/model_mod.f90 Lines 5374 to 5406 in e218864
oncenters(/faces/edges) only relevant for HEIGHT? see |
related to #757 "VERTISSURFACE describes variables on A surface (not necessarily THE surface)" DART/models/mpas_atm/model_mod.f90 Line 5336 in 2d5882c
|
todo: wind, domain_id see #753 (comment) for various notes on update_mpas_states
why is update_from_u_reconstruct a model_nml option rather than an update_mpas_state option? |
update_u_from_reconstruct passing this namelist option publically. I am not sure why this is a model_mod option rather than an update_mpas_states option? To make people set it for filter? #753 (comment)
the original code didn't include a separate post-processing program. if the namelist options made the assimilation update only the reconstructed winds, this function updated the edge normal winds before finishing. |
Unresolved issues:
Surface elevation check
! Reject obs if the station height is far way from the model terrain.
but fwd operators (rttov) need these surface values
see discussion #332
Code:
branch (be aware I may force push to this)
https://github.com/NCAR/DART/tree/mpas-refactor
Spec (note 7 v 8)
https://docs.google.com/document/d/1wD4MKM5PquOUbxK3YxIjcbIaFThJfa318heDn_bFUbs/edit
The text was updated successfully, but these errors were encountered: