Ticket #771 (assigned Bug)

Opened 3 years ago

Last modified 2 years ago

model mod: parameter change appears as code mod!

Reported by: charlotte Owned by: gerry
Priority: blocker Milestone: V1.2 Questionnaire release
Component: WP6 - CMIP5 Questionnaire Version:
Keywords: Cc: gerry, rupert
Requirement:

Description

I'm working with the questionnaire in Gerry's branch. I just described a model mod as a parameter change but it appears as type=codemod in the list of model mods - see screen shots.
 description  list

Attachments

paramChangeBecomesCodeMod.png Download (168.4 KB) - added by charlotte 3 years ago.
Parameter change appears as a code mod

Change History

Changed 3 years ago by charlotte

Parameter change appears as a code mod

comment:1 Changed 3 years ago by charlotte

  • Priority changed from critical to blocker

comment:2 Changed 3 years ago by charlotte

  • Milestone changed from V1.1 Questionnaire Release to V1.0 CMIP5 Questionnaire Release

comment:3 Changed 3 years ago by gerry

  • Priority changed from blocker to major

I moved this from critical to major. The information is being stored correctly in the database, but rendered incorrectly. Will fix in due course

comment:4 Changed 3 years ago by charlotte

  • Cc gerry added
  • Owner changed from gerry to charlotte
  • Priority changed from major to blocker
  • Milestone changed from V1.0 CMIP5 Questionnaire Release to V1.1 Questionnaire Release

Changing the priority to blocker version 1.1 release, I think it is important that users see the correct info when they select something - even if the database is correct.

comment:5 Changed 3 years ago by charlotte

It seems that the type associated with the model modifications and input modifications has nothing to do with the type that users choose in the drop down lists when they describe them! 

Input modifications have three types which users choose from a drop-down list - Ancillary file, Initial Condition and Boundary Condition. Yet when the input mod appears on the list of mods associated with a simulation we see that it listed as name(inputmod). So it has type=inputmod, not ancillary file/initial condition/boundary condition.
http://127.0.0.1:8000/cmip5/39/list/ inputmod /ensemble/1

Similarly, the model mods are given type = codemod yet the user had been offered the choice of Parameter Change or Code Change to describe the type.
http://127.0.0.1:8000/cmip5/39/list/ modelmod /ensemble/1

comment:6 Changed 3 years ago by charlotte

  • Status changed from new to assigned
  • Summary changed from model mod: parameter change appears as code change to model mod: parameter change appears as code mod!

comment:7 Changed 3 years ago by charlotte

  • Owner changed from charlotte to gerry
  • Status changed from assigned to new

Gerry, I'm handing this one over to you because I really don't understand forms!

comment:8 Changed 3 years ago by gerry

  • Status changed from new to assigned

comment:9 Changed 3 years ago by charlotte

What should type signify for our model mods and input mods?

The questionnaire seems to be using type to distinguish input mods from model mods.
Confusion arose for me because the model mod type is called a code mod and I confused the code mod modification type with the code change model modification type.

So I think we can make this much clearer if we change
modification type = code mod 
to
modification type = model mod

But I don't know which piece of python code  or template html needs to be changed to do this!

comment:10 Changed 3 years ago by rupert

  • Cc rupert added

Any change to type could affect the q2cim software so I've added the subCMIP5 keyword. This ticket should be reassigned to me if the type is changed, or another ticket created so I can make any necessary changes.

comment:11 Changed 3 years ago by rupert

  • Keywords subCMIP5 added

comment:12 Changed 2 years ago by charlotte

  • Keywords subCMIP5 removed

I think it is best not to change the CIM but rather to put a clearer explanation on the questionnaire - not a subCMIP5 issue

Note: See TracTickets for help on using tickets.