Skip to content

Feature/144 model config UI#217

Merged
hahnd merged 13 commits intodevelopfrom
feature/144-model-config-ui
Jun 26, 2023
Merged

Feature/144 model config UI#217
hahnd merged 13 commits intodevelopfrom
feature/144-model-config-ui

Conversation

@hahnd
Copy link
Collaborator

@hahnd hahnd commented Jun 23, 2023

Expected Differences

WRF configuration editing by GUI is enabled.

Pull Request Testing

Namelist data is represented in three places:

  • The map on the "Basic" tab
  • The text fields on the "Basic" tab
  • In the namelist on the "Advanced" tab

As you change variables listed below in one place, the other two should stay in sync.

Valid namelist files should be generated.

Variables:

  • wrf.physics.mp_physics
  • wrf.physics.cu_physics
  • wrf.physics.ra_lw_physics
  • wrf.physics.ra_sw_physics
  • wrf.physics.bl_pbl_physics
  • wrf.physics.sf_sfclay_physics
  • wrf.physics.sf_surface_physics
  • wps.geogrid.e_we
  • wps.geogrid.e_sn
  • wps.geogrid.dx
  • wps.geogrid.dy
  • wps.geogrid.map_proj
  • wps.geogrid.ref_lat
  • wps.geogrid.ref_lon
  • wps.geogrid.truelat1
  • wps.geogrid.truelat2
  • wps.geogrid.stand_lon
  • wrf.domains.time_step
  • wrf.domains.e_we
  • wrf.domains.e_sn
  • wrf.domains.dx
  • wrf.domains.dy

Focus on web/src/app/model-config/default-namelists.ts as this file has template/default namelists.

Pull Request Checklist

  • Review the source issue metadata (labels, project, and milestone).
  • Complete the PR definition above.
  • Ensure the PR title matches the feature or bugfix branch name.
  • Define the PR metadata, as permissions allow.
    Select: Reviewer(s)
    Select: Project
    Select: Milestone as the version that will include these changes
    Select: Development to link to the original development issue.
  • After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
  • Close the linked issue and delete your feature or bugfix branch from GitHub.

hahnd added 10 commits June 1, 2023 00:22
Propagate namelist changes from text edit.
Added namelist parser and unparser.
Setup events appropriately to pass user changes to all other data representations.
* develop: (39 commits)
  Feature #188 restrict dates in forecast selector (#213)
  change precip accum color bar to viridis (#215)
  use evenly spaced font for logs
  fix bug showing actual value of email notify setting in job details view by adding notify to list of keys to pass
  fix bug getting nx/ny values that are incorrect when multiple domains are specified
  revert change to docs because we are not renaming logs zip file
  move exit button to top right for log viewer, override sort of keys for log file list, replace disabled button with span with set pixel width
  make Logs button blue and change Close button to an X icon on the top right of window
  added option to wrfcloud-run to skip deletion of cluster for running on by hand cluster
  fix bug in email notify logic by adding setting expected env var used to send email
  change logs zip file name back to exclude job ID since it can be added when the user downloads it
  improve formatting and display current log file as label of text area
  create job data directory to write wrfcloud log into it
  prevent error if user clicks on Loading Logs text before log list has been loaded
  write wrfcloud runtime log file into job directory so all files for a job are contained in the same directory and simplifies logic to get log files for log viewer
  add job ID to logs zip file so it is clear what it contains if/when we allow users to download it
  cleanup
  store name of log with directory to find file from tree selector
  store full name of log file so it can be easily referenced when viewing the file
  replace sidenav with tree for log viewer
  ...

# Conflicts:
#	web/src/app/app.module.ts
Added computation for time_step in wrf namelist.
Added default (or template) namelists for new configurations.
@hahnd hahnd added component: web ui component: NWP components Programs to run model, e.g. ungrib, metgrid, real, wrf labels Jun 23, 2023
@hahnd hahnd added this to the Version 1.X milestone Jun 23, 2023
@hahnd hahnd requested a review from fossell June 23, 2023 01:39
@hahnd
Copy link
Collaborator Author

hahnd commented Jun 26, 2023

Reviewed during a couple of meetings. Merging now.

@hahnd hahnd merged commit 422b10e into develop Jun 26, 2023
@hahnd hahnd deleted the feature/144-model-config-ui branch June 26, 2023 17:54
@fossell
Copy link
Collaborator

fossell commented Jun 28, 2023

Closes #144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: NWP components Programs to run model, e.g. ungrib, metgrid, real, wrf component: web ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants