@aguacerowx/javascript-sdk 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aguacerowx/javascript-sdk",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -106,16 +106,13 @@ export class AguaceroCore extends EventEmitter {
106
106
  availableTimestamps = [...timestamps].reverse();
107
107
  }
108
108
 
109
- // --- NEW CODE: Filter out hour 0 for ptypeRefl + HRRR ---
110
109
  let availableHours = this.state.isMRMS
111
110
  ? []
112
111
  : (this.modelStatus?.[this.state.model]?.[this.state.date]?.[this.state.run] || []);
113
112
 
114
- // If variable is ptypeRefl and model is hrrr, remove hour 0
115
- if (this.state.variable === 'ptypeRefl' && this.state.model === 'hrrr' && availableHours.length > 0) {
113
+ if (!this.state.isMRMS && this.state.variable === 'ptypeRefl' && this.state.model === 'hrrr' && availableHours.length > 0) {
116
114
  availableHours = availableHours.filter(hour => hour !== 0);
117
115
  }
118
- // --- END NEW CODE ---
119
116
 
120
117
  const eventPayload = {
121
118
  ...this.state,