Webtags (preserving history): Difference between revisions

m
Line 40: Line 40:
== The format used for naming ==
== The format used for naming ==


The monthly reports have a name in this format '''"NOAAMO"...".txt"'''.  The yearly reports have a name in this format '''"NOAAYR"...".txt"'''
The monthly reports have a name in this format '''"NOAAMO"...".txt"'''.  The yearly reports have a name in this format '''"NOAAYR"...".txt"'''. This format with 4 double quotes in all cases is used both in the NOAA settings screen and in the [[Cumulus.ini#[NOAA]|[NOAA] section of Cumulus.ini]].


It is between the double quotes where I have placed '...' that Cumulus expects us to use the date output modifiers described. Note that the double quotes must be used at each of the places where they are shown when you define your report naming in the NOAA Settings screen of either Cumulus 1 or MX.  The default selected by Steve Loft is '''MMyyyy''' and '''yyyy''' respectively (expressed in a way that suits both Cumulus 1 and MX) so the inserted part is all numerical. Here is a table showing the main alternative options, for more details about these selectors see the [[Webtags#List_of_allowed_modifiers|table below]]  as there are obviously a lot more options.
It is between the double quotes where I have placed '...' that Cumulus expects us to use the date output modifiers described. Note that the double quotes must be used at each of the places where they are shown when you define your report naming in the NOAA Settings screen of either Cumulus 1 or MX.  The default selected by Steve Loft is '''MMyyyy''' and '''yyyy''' respectively (expressed in a way that suits both Cumulus 1 and MX) so the inserted part is all numerical. Here is a table showing the main alternative options, for more details about these selectors see the [[Webtags#List_of_allowed_modifiers|table below]]  as there are obviously a lot more options.
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 49: Line 50:
!style="width:600px" | Explanation
!style="width:600px" | Explanation
!style="width:150px" | Setting
!style="width:150px" | Setting
!style="width:600px" | Example of produced name
!style="width:600px" | Example of produced name  
|-
|-
|mmyyyy
|colspan="5" style="background:lightgray;"|Yearly report
|MMyyyy
|Note that Cumulus 1 accepts lower or upper case, this is equivalent to default mentioned above
|"NOAAMO"MMyyyy".txt"
|NOAAMO032010.txt
|-
|-
|YYYY
|YYYY
|yyyy
|yyyy
|Note that Cumulus 1 accepts lower or upper case, this is equivalent to default mentioned above
|Note that Cumulus 1 accepts lower or upper case, this is the default mentioned above
|"NOAAYR"yyyy".txt"
|"NOAAYR"yyyy".txt"
|NOAAYR2010.txt
|NOAAYR2010.txt
|-
|YY
|yy
|Note that Cumulus 1 accepts lower or upper case, this represents a 2 digit year number alternative format
|"NOAAYR"yy".txt"
|NOAAYR10.txt
|-
|colspan="5" style="background:lightgray;"|Monthly report
|-
|mmyyyy (or MMYYYY)
|MMyyyy
|Note that Cumulus 1 accepts lower or upper case, these are equivalent to default mentioned above
|"NOAAMO"MMyyyy".txt"
|NOAAMO032010.txt
|-
|yyyy-mm (or YYYY-MM)
|yyyy-MM
||Note that Cumulus 1 accepts lower or upper case, this naming format is popular as it results in files being in chronological sequence when listed by file name
|"NOAAMO"yyyy-MM".txt"
|NOAAM2010-03.txt
|-
|-
|MMMyyyy
|MMMyyyy
|MMMyyyy
|MMMyyyy
|Note that Cumulus 1 accepts lower or upper case, this represents a 3 letter month name as defined for your locale on your device, in '''.NET''' or in '''MONO'''
|Note that Cumulus 1 accepts lower or upper case, this represents an informative naming format using 3 letter month name as defined for your locale on your device, in '''.NET''' or in '''MONO'''
|"NOAAMO"MMMyyyy".txt"
|"NOAAMO"MMMyyyy".txt"
|NOAAMOMar2010.txt
|NOAAMOMar2010.txt
|-
|YY
|yy
|Note that Cumulus 1 accepts lower or upper case, this represents a 2 digit year number
|"NOAAYR"yy".txt"
|NOAAYR10.txt
|}
|}


5,838

edits