IDEMSInternational / R-Instat

A statistics software package powered by R
http://r-instat.org/
GNU General Public License v3.0
38 stars 102 forks source link

Minor improvement in the Prepare Climatic Data dialog #9059

Open rdstern opened 2 months ago

rdstern commented 2 months ago

When data are imported from Climsoft they look like this:

image

We then use the Climatic > Define Climatic Data and the initial dialog looks like this:

image

Notice the dialog recognises PRECIP and automatically fills the receivers. But it does not recognise TMPMIN or TMPMAX, so we have to do this ourselves. Could it recognise these names too please. (I think these will always be the names from Climsoft, so good to make life as easy as possible for Climsoft users.

@Patowhiz can you confirm? Would it be easy to become optimistic and also give the names for the remaining elements. That would be useful, but less urgent.

@N-thony could you suggest who might do this. @MeSophie has already worked on this dialog?

Patowhiz commented 1 month ago

@rdstern @N-thony @MeSophie

Below are the daily element abbreviation and names in Climsoft version 4.

TMPMAX - Temp daily max - Temperature daily maximum TMPMIN - Temp daily min - Temperature daily minimum WNDSPD - Wind Spd avg dly - Wind speed daily average WNDMIL - Wind Spd dly - Wind speed daily average Cup Anemometer PKGUST - Wind Gust max sp - Wind gust speed daily maximum PKGSTD - Wind gust dir - Wind gust direction of the daily maximum SUN - Sunshine - Sunshine total hourly RADGLS - Radiation global - Radiation global solar RADSKY - Radiation sky - Radiation sky RADRES - Radiation reflc - Radiation reflected solar RADNAW - Radiation al wv - Radiation net all wave RADDWN - Radiation down - Radiation total downward RADUP- Radiation up - Radiation total upward RADDSL- Radiation direct - Radiation direct solar CLDTOT- Cloud cover tot - Cloud cover total RHMAX - RH daily max - Relative humidity daily maximum RHMIN - RH daily min - Relative humidity daily minimum

@rdstern @N-thony @MeSophie, if the above automatic selection of elements is not urgent, I suggest an issue to be created so that we don't loose the abbreviations I have outlined above.

MeSophie commented 1 month ago

@Patowhiz If it won't cause any inconvenience, we can just reopen this issue to add the missing abbreviations.

Patowhiz commented 1 month ago

@MeSophie thanks. It is now reopened.

rdstern commented 1 month ago

@MeSophie and @Patowhiz thank you for this. I think some of the CLIMSOFT elements can be added now. Others might imply a More button and a sub-dialog? Patrick, I wonder whether the information somewhere could also mention the numbers, e.g. PRECIP is 5. Also a related point is that one reason for these is because it simplifies the subsequent climatic dialogs that particular elements can be filled in automatically.

We also need to extend these names, so that particular summaries also have defined names. Sophie will remeber I have been asking for this for the Climograph dialogs, etc. Now we also need the naming of summaries in a more general way for the export to ePICSA dialog. I hope work on the summaries will start next week, when Lily is back from leave. It may be done "properly", in which case particular summaries could be added automatically and then edited on a sub-dialog in the climatic definitions. Or we do it simply by filling automaticallywhen the names remain the defaults. Let's see!

MeSophie commented 1 month ago

@Patowhiz @rdstern I don't know how Climsoft works but I assume we needs Extra receivers for others wind speeds and Radiations. Can I Add another button labelled Extra Elements for these extra element? This will avoid a wider dialogue.

Patowhiz commented 1 month ago

@MeSophie I think you just need to pick one element only from the list of the radiation elements I provided.

@rdstern kindly specify for @MeSophie which radiation element in the above list is of interest on this dialog.

MeSophie commented 1 month ago

@Patowhiz if all these radiations/wind speeds have the same role, then I can add them all on the list and the receivers will detect the one available in the data frame.

Patowhiz commented 1 month ago

@MeSophie at this point I'm not quite sure what @rdstern wants. If he wants all the elements from Climsoft, then your sub-dialog will also have many receivers. If he wants to maintain the elements currently on the dialog, then your solution should suffice.

MeSophie commented 1 month ago

@rdstern Please could you clarify the status of these elements ? Thank you.